com.sun.jini.norm
Class NormServerBaseImpl.SnapshotThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.sun.jini.thread.InterruptedStatusThread
          extended by com.sun.jini.norm.NormServerBaseImpl.SnapshotThread
All Implemented Interfaces:
Runnable
Enclosing class:
NormServerBaseImpl

private class NormServerBaseImpl.SnapshotThread
extends InterruptedStatusThread

Thread that performs the actual snapshots, done in a separate thread so it will not hang up in-progress remote calls


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
private NormServerBaseImpl.SnapshotThread()
          Create a daemon thread
 
Method Summary
 void run()
           
private  void takeSnapshot()
          Signal this thread that is should take a snapshot
 
Methods inherited from class com.sun.jini.thread.InterruptedStatusThread
hasBeenInterrupted, interrupt
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NormServerBaseImpl.SnapshotThread

private NormServerBaseImpl.SnapshotThread()
Create a daemon thread

Method Detail

takeSnapshot

private void takeSnapshot()
Signal this thread that is should take a snapshot


run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.