GigaSpaces XAP 9.7.2 API

org.openspaces.admin.space
Interface SpaceInstanceRuntimeDetails


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
 String[] getClassNames()
          Returns an array of class names of entry/objects in the Space.
 SpaceInstanceConnectionDetails getConnectionDetails()
          Deprecated. use SpaceInstanceStatistics.getActiveConnectionCount()
 int getCount()
          Deprecated. @see SpaceInstanceStatistics#getObjectCount()
 Map<String,Integer> getCountPerClassName()
          Returns a mapping between each class name and the number of entries/objects in the Space.
 Map<String,com.gigaspaces.management.space.LocalCacheDetails> getLocalCacheDetails()
          Returns a map of LocalCacheDetails keyed by their LocalCacheDetails.getId().
 Map<String,com.gigaspaces.management.space.LocalViewDetails> getLocalViewDetails()
          Returns a map of LocalViewDetails keyed by their LocalViewDetails.getId().
 Map<String,Integer> getNotifyTemplateCountPerClassName()
          Returns a mapping between each class name and the number of notify-templates in the Space.
 SpaceInstanceTransactionDetails getTransactionDetails()
          Deprecated. use SpaceInstanceStatistics.getActiveTransactionCount()
 

Method Detail

getCount

@Deprecated
int getCount()
Deprecated. @see SpaceInstanceStatistics#getObjectCount()

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:
SpaceInstance.getGigaSpace(), GigaSpace.count(Object), GigaSpace.count(Object, int)

getClassNames

String[] getClassNames()
Returns an array of class names of entry/objects in the Space.

Returns:
an array of class names.

getCountPerClassName

Map<String,Integer> 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.

getNotifyTemplateCountPerClassName

Map<String,Integer> 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
SpaceInstanceTransactionDetails getTransactionDetails()
Deprecated. use SpaceInstanceStatistics.getActiveTransactionCount()

Returns:
the transaction details of this Space instance.
Since:
9.0.0

getConnectionDetails

@Deprecated
SpaceInstanceConnectionDetails getConnectionDetails()
Deprecated. use SpaceInstanceStatistics.getActiveConnectionCount()

Returns:
the connection details of this Space instance.
Since:
9.0.0

getLocalCacheDetails

Map<String,com.gigaspaces.management.space.LocalCacheDetails> getLocalCacheDetails()
Returns a map of LocalCacheDetails keyed by their LocalCacheDetails.getId().

Since:
9.5.0

getLocalViewDetails

Map<String,com.gigaspaces.management.space.LocalViewDetails> getLocalViewDetails()
Returns a map of LocalViewDetails keyed by their LocalViewDetails.getId().

Since:
9.5.0

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.