Class LocalViewContainer
java.lang.Object
com.gigaspaces.internal.client.spaceproxy.AbstractSpaceProxy
com.gigaspaces.internal.client.cache.AbstractSpaceCacheContainer
com.gigaspaces.internal.client.cache.localview.LocalViewContainer
- All Implemented Interfaces:
IPojoSpace,LocalViewMonitor,ISpaceCache,ISpaceProxy,SecuredService,IDotnetProxyAssociated,ActionMaker,IJSpace,JavaSpace
- Author:
- GigaSpaces
-
Nested Class Summary
Nested classes/interfaces inherited from class com.gigaspaces.internal.client.cache.AbstractSpaceCacheContainer
AbstractSpaceCacheContainer.StateMonitor -
Field Summary
Fields inherited from class com.gigaspaces.internal.client.cache.AbstractSpaceCacheContainer
_cacheID, _logger -
Constructor Summary
ConstructorsConstructorDescriptionLocalViewContainer(IDirectSpaceProxy remoteProxy, LocalViewConfig cacheConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConnectionStateListener(LocalViewConnectionStateListener localViewConnectionStateListener) Adds aLocalViewConnectionStateListenerto the local view.voidapplyNotifyInfoDefaults(NotifyInfo notifyInfo) protected AbstractSpaceCachereturns the currentLocalViewConnectionStatereturns itself in case of a direct proxy or the real proxy in case of a local cache or a view.protected org.slf4j.Loggerbooleanprotected voidvoidremoveConnectionStateListener(LocalViewConnectionStateListener localViewConnectionStateListener) Removes aLocalViewConnectionStateListenerfrom the local viewvoidMethods inherited from class com.gigaspaces.internal.client.cache.AbstractSpaceCacheContainer
assertCacheConnected, close, createNewOperationID, finalize, getAdmin, getCacheId, getCacheState, getContextTransaction, getDirectProxy, getFinderURL, getLocalSpace, getName, getPrivilegedAdmin, getReadModifiers, getReferentUuid, getRemoteSpace, getUpdateModifiers, getURL, initialize, initWriteModifiers, isCacheContainer, isClustered, isEmbedded, isFifo, isOptimisticLockingEnabled, isSecured, isServiceSecured, isStartedWithinGSC, loadRemoteClass, login, onCacheFailure, readById, readById, replaceContextTransaction, replaceContextTransaction, setActionListener, setFifo, setOptimisticLocking, setReadModifiers, setUpdateModifiers, toString, verifyProjectionsAreSupportedMethods inherited from class com.gigaspaces.internal.client.spaceproxy.AbstractSpaceProxy
aggregate, asyncAddIndexes, asyncChange, asyncRead, asyncTake, change, checkIfConnected, clear, clear, count, count, dropClass, execute, execute, getAppDomainId, getContainerName, getDotnetProxyHandleId, getSpaceHealthStatus, getTypeDescriptor, hasAssociatedAppDomain, isLocalCacheCacheContainer, isLocalViewContainer, isTargetOfADotnetProxy, notify, ping, read, read, read, read, readByIds, readByIds, readByIds, readByUid, readEntriesUids, readIfExists, readIfExists, readIfExists, readMultiple, readMultiple, readMultiple, readMultiple, registerTypeDescriptor, registerTypeDescriptor, setAppDomainId, setDotnetProxyHandleId, snapshot, snapshot, take, take, take, take, takeById, takeById, takeByIds, takeByIds, takeByIds, takeByUid, takeIfExists, takeIfExists, takeIfExists, takeMultiple, takeMultiple, takeMultiple, takeMultiple, unregisterTypeDescriptor, update, update, updateMultiple, updateMultiple, write, write, write, writeMultiple, writeMultiple, writeMultiple, writeMultiple, writeMultiple
-
Constructor Details
-
LocalViewContainer
-
-
Method Details
-
getNotificationsDirectProxy
Description copied from interface:ISpaceProxyreturns itself in case of a direct proxy or the real proxy in case of a local cache or a view.- Specified by:
getNotificationsDirectProxyin interfaceISpaceProxy
-
getCacheConfig
- Specified by:
getCacheConfigin classAbstractSpaceCacheContainer
-
createSpaceCache
- Specified by:
createSpaceCachein classAbstractSpaceCacheContainer- Throws:
SpaceCacheInitializationException
-
isReplicationLocalView
public boolean isReplicationLocalView() -
createActionManager
- Specified by:
createActionManagerin classAbstractSpaceProxy
-
applyNotifyInfoDefaults
- Specified by:
applyNotifyInfoDefaultsin interfaceISpaceProxy- Overrides:
applyNotifyInfoDefaultsin classAbstractSpaceProxy
-
initLogger
protected org.slf4j.Logger initLogger()- Specified by:
initLoggerin classAbstractSpaceCacheContainer
-
getCacheTypeName
- Specified by:
getCacheTypeNamein interfaceIJSpace
-
getConnectionState
Description copied from interface:LocalViewMonitorreturns the currentLocalViewConnectionState- Specified by:
getConnectionStatein interfaceLocalViewMonitor- Returns:
- the current connection state
-
addConnectionStateListener
public void addConnectionStateListener(LocalViewConnectionStateListener localViewConnectionStateListener) Description copied from interface:LocalViewMonitorAdds aLocalViewConnectionStateListenerto the local view.- Specified by:
addConnectionStateListenerin interfaceLocalViewMonitor
-
removeConnectionStateListener
public void removeConnectionStateListener(LocalViewConnectionStateListener localViewConnectionStateListener) Description copied from interface:LocalViewMonitorRemoves aLocalViewConnectionStateListenerfrom the local view- Specified by:
removeConnectionStateListenerin interfaceLocalViewMonitor
-
notifyLocalSpaceOnInternalStateChange
- Overrides:
notifyLocalSpaceOnInternalStateChangein classAbstractSpaceCacheContainer
-
updateConnectionState
-