Package com.j_spaces.core.admin
Class RuntimeHolder
java.lang.Object
com.j_spaces.core.admin.RuntimeHolder
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
Space runtime state holds the state of the space instace, for example, primary backup and
replication status.
- Author:
- kimchy
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeHolder(SpaceMode spaceMode, Object[] replicationStatus, int spaceState, SuspendInfo suspendInfo) -
Method Summary
Modifier and TypeMethodDescriptionObject[]voidvoidsetSuspendInfo(SuspendInfo suspendInfo) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
RuntimeHolder
public RuntimeHolder() -
RuntimeHolder
public RuntimeHolder(SpaceMode spaceMode, Object[] replicationStatus, int spaceState, SuspendInfo suspendInfo)
-
-
Method Details
-
getSpaceMode
-
getReplicationStatus
-
getSpaceState
- Returns:
- ISpaceState or null if working against old XAP client.
- See Also:
-
getSuspendInfo
-
setSuspendInfo
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-