|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.tspaces.examples.services.Shutdown
This is a sample implementaion of a client command that will issue a SHUTDOWN command to the server. It will take the Administrator userid and password from the command line and issue the command. The resulting action at the server is to terminate all active operations (giving them a few seconds to clean up) and then issue a checkpoint of all active Spaces then exit.
| Constructor Summary | |
Shutdown()
|
|
| Method Summary | |
static void |
main(java.lang.String[] argv)
This is code to issue the SHUTDOWN Syntax: java com.ibm.tspaces.examples.services.Shutdown host user password The default is to use the Default port 8201. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Shutdown()
| Method Detail |
public static void main(java.lang.String[] argv)
The basic steps are:
Get the userid and password. Remember that this function must be performed by a user that has "admin" authority for the server
issue an TupleSpace.shutdown(host,port,user,password)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||