Package com.j_spaces.core
Class SpaceContext
java.lang.Object
com.j_spaces.core.SpaceContext
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
The SpaceContext class defines context info passed from the proxy to the space. In general, when
there is no context information, the context reference is null.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for Externalizable impl.SpaceContext(boolean fromGateway, int chunksMapGeneration, boolean clustered) SpaceContext(SecurityContext securityContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateCopy(SecurityContext newSecurityContext) intbooleanbooleanbooleanvoidvoidsetMVCCGenerationsState(MVCCGenerationsState generationsState) voidsetQuiesceToken(QuiesceToken quiesceToken) voidsetReadonly(boolean readonly) toString()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
SpaceContext
public SpaceContext()Empty constructor for Externalizable impl. -
SpaceContext
-
SpaceContext
public SpaceContext(boolean fromGateway, int chunksMapGeneration, boolean clustered)
-
-
Method Details
-
createCopy
-
getSecurityContext
-
getChunksMapGeneration
public int getChunksMapGeneration() -
isFromGateway
public boolean isFromGateway() -
isClustered
public boolean isClustered() -
getMVCCGenerationsState
- Since:
- 16.3.0
-
setMVCCGenerationsState
- Since:
- 16.3.0
-
isReadonly
public boolean isReadonly() -
setReadonly
public void setReadonly(boolean readonly) -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getQuiesceToken
-
setQuiesceToken
-
toString
-