Interface InternalSpace
- All Superinterfaces:
InternalSpaceInstancesAware, Iterable<SpaceInstance>, Space, StatisticsMonitor
- All Known Implementing Classes:
DefaultSpace
- Author:
- kimchy
-
Field Summary
Fields inherited from interface StatisticsMonitor
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInstance(SpaceInstance spaceInstance) getAdmin()In the case of single space null will be returned This call can might invoke remote callreturns the Space instance based on its uid (seeGridComponent.getUid())booleanIndication if space is securedvoidremoveInstance(String uid) voidreset IJSpace and Gigaspaces to null.Methods inherited from interface InternalSpaceInstancesAware
getSpaceInstancesMethods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface Space
addLifecycleListener, getBackupsStatistics, getGigaSpace, getInstances, getInstanceStatisticsChanged, getName, getNumberOfBackups, getNumberOfInstances, getPartition, getPartitions, getPrimariesStatistics, getReplicationManager, getReplicationStatusChanged, getRuntimeDetails, getSize, getSpaceInstanceAdded, getSpaceInstanceRemoved, getSpaceModeChanged, getSpaces, getSpaceSuspendTypeChanged, getStatistics, getStatisticsChanged, getTotalNumberOfInstances, getUid, isEmpty, removeLifecycleListener, waitFor, waitFor, waitFor, waitForMethods inherited from interface StatisticsMonitor
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor
-
Method Details
-
addInstance
-
removeInstance
-
refreshScheduledSpaceMonitors
void refreshScheduledSpaceMonitors() -
getAdmin
Admin getAdmin() -
getSpaceInstanceByUid
returns the Space instance based on its uid (seeGridComponent.getUid())- Parameters:
uid- the unique id of the Space instance- Returns:
- the Space instance or null
- Since:
- 10.1.1
-
getClusterPolicy
ClusterPolicy getClusterPolicy()In the case of single space null will be returned This call can might invoke remote call- Returns:
- instance of ClusterPolicy
- Since:
- 15.0
-
isSecured
boolean isSecured()Indication if space is secured- Returns:
- instance of ClusterPolicy
- Since:
- 15.2
-
getLastStatistics
SpaceStatistics getLastStatistics() -
resetSpace
void resetSpace()reset IJSpace and Gigaspaces to null.- Since:
- 15.5
-