org.sapia.ubik.rmi.server.gc
Class CommandGc
java.lang.Object
org.sapia.ubik.rmi.server.command.Command
org.sapia.ubik.rmi.server.RMICommand
org.sapia.ubik.rmi.server.gc.CommandGc
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Executable
public class CommandGc
- extends RMICommand
This command is sent by clients (ClientGC instances) that wish
to notify the server that they have garbage-collected remote references.
The server-side GC (ServerGC) updates the reference count
for all object identifiers it receives (which are passed in through this
command).
- Author:
- Yanick Duchesne
2002-09-11
- See Also:
- Serialized Form
|
Constructor Summary |
CommandGc()
Do not call; used for externalization only. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandGc
public CommandGc()
- Do not call; used for externalization only.
execute
public java.lang.Object execute()
throws java.lang.Throwable
- Description copied from class:
RMICommand
- Executes this command.
- Specified by:
execute in interface Executable- Specified by:
execute in class RMICommand
- Returns:
- any value returned by this method.
- Throws:
java.lang.Throwable - if an error occurs while executing this command- See Also:
RMICommand.execute()
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal in interface java.io.Externalizable- Overrides:
readExternal in class RMICommand
- Throws:
java.io.IOException
java.lang.ClassNotFoundException- See Also:
RMICommand.readExternal(ObjectInput)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable- Overrides:
writeExternal in class RMICommand
- Throws:
java.io.IOException- See Also:
RMICommand.writeExternal(ObjectOutput)
Copyright © 2010 Sapia OSS. All Rights Reserved.