Package com.nt.udc.admin.server
Class AdminServerImpl.ShutdownThread
java.lang.Object
java.lang.Thread
com.nt.udc.admin.server.AdminServerImpl.ShutdownThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
AdminServerImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
kills the thread tries theMAX_TRIES
times if that fails interrupt the threadvoid
run()
void
shutdown the nodeMgrApi objectsboolean
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
ShutdownThread
public ShutdownThread() -
ShutdownThread
public ShutdownThread(int customExitCode)
-
-
Method Details
-
getExitCode
public int getExitCode() -
waitForImport
public boolean waitForImport() -
run
public void run() -
killThread
kills the thread tries theMAX_TRIES
times if that fails interrupt the thread -
shutdownNMAPI
shutdown the nodeMgrApi objects- Parameters:
v
- vector of NMItems representing the nodeMgrApi objects
-