Package org.openspaces.admin.space
Interface SpaceInstanceRuntimeDetails
- All Known Implementing Classes:
DefaultSpaceInstanceRuntimeDetails
public interface SpaceInstanceRuntimeDetails
API for accessing Space runtime details - classes, templates, count, etc.
These calls avoid
establishing a proxy to the Space, but is equivalent to ... GigaSpace gigaspace =
spaceInstance.getGigaSpace(); IJSpace spaceProxy = gigaspace.getSpace(); IRemoteJSpaceAdmin
spaceAdmin = spaceProxy.getAdmin(); SpaceRuntimeInfo info = spaceAdmin.getRuntimeInfo();
- Since:
- 8.0.3
- Author:
- Moran Avigdor
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map ofITypeDesckeyed by class name.String[]Returns an array of class names of entry/objects in the Space.Deprecated.intgetCount()Deprecated.Returns a mapping between each class name and the number of entries/objects in the Space.longlongReturns a map ofLocalCacheDetailskeyed by theirLocalCacheDetails.getId().Returns a map ofLocalViewDetailskeyed by theirLocalViewDetails.getId().Returns a mapping between each class name and the number of notify-templates in the Space.intDeprecated.
-
Method Details
-
getCount
Deprecated.A count of any null-template matching entry/object in the Space.Count could also be gained by establishing a proxy to the Space.
- Returns:
- a count (gathered periodically).
- See Also:
-
getRamCount
int getRamCount() -
getDiskSize
long getDiskSize() -
getFreeSpace
long getFreeSpace() -
getClassNames
String[] getClassNames()Returns an array of class names of entry/objects in the Space.- Returns:
- an array of class names.
-
getCountPerClassName
Returns a mapping between each class name and the number of entries/objects in the Space.- Returns:
- a mapping of class name to entry/object count.
-
getRamCountPerClassName
-
getNotifyTemplateCountPerClassName
Returns a mapping between each class name and the number of notify-templates in the Space.- Returns:
- a mapping of class name to template count.
-
getTransactionDetails
Deprecated.- Returns:
- the transaction details of this Space instance.
- Since:
- 9.0.0
-
getConnectionDetails
Deprecated.- Returns:
- the connection details of this Space instance.
- Since:
- 9.0.0
-
getLocalCacheDetails
Map<String,LocalCacheDetails> getLocalCacheDetails()Returns a map ofLocalCacheDetailskeyed by theirLocalCacheDetails.getId().- Since:
- 9.5.0
-
getLocalViewDetails
Map<String,LocalViewDetails> getLocalViewDetails()Returns a map ofLocalViewDetailskeyed by theirLocalViewDetails.getId().- Since:
- 9.5.0
-
getClassDescriptors
Returns a map ofITypeDesckeyed by class name.- Since:
- 15.2.0
-
getTieredStorageConfig
TieredStorageConfig getTieredStorageConfig()- Returns:
- tiered storage table configuration
- Since:
- 16.2.0
-
SpaceInstanceStatistics.getActiveConnectionCount()