Package com.nt.udc.nodemgr.shutdown
Class ShutdownNM
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.nt.udc.nodemgr.shutdown.ShutdownNM
- All Implemented Interfaces:
ShutdownListener,Serializable,Remote
shutdowns the node manager on the local machine
- See Also:
-
Field Summary
Fields inherited from class java.rmi.server.RemoteObject
ref -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete()static voidAllow NodeManager to wait for the .lck file created by the sidecar Upon accessing the .lck file, the NodeManager will proceed with shutdowstatic voidvoidtells the nodemgr to shutdownMethods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Constructor Details
-
ShutdownNM
- Throws:
RemoteException
-
ShutdownNM
- Throws:
RemoteException
-
-
Method Details
-
complete
public void complete()- Specified by:
completein interfaceShutdownListener
-
shutdown
tells the nodemgr to shutdown- Parameters:
osaHome- directory of the nodemgrs installation
-
doPreShutDownStuff
public static void doPreShutDownStuff()Allow NodeManager to wait for the .lck file created by the sidecar Upon accessing the .lck file, the NodeManager will proceed with shutdow -
main
- Parameters:
args- directory of the nodemgr's installation
-