GigaSpaces XAP 9.0 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()
           
 int getCount()
          A count of any null-template matching entry/object in the Space.
 Map<String,Integer> getCountPerClassName()
          Returns a mapping between each class name and the number of entries/objects in the Space.
 Map<String,Integer> getNotifyTemplateCountPerClassName()
          Returns a mapping between each class name and the number of notify-templates in the Space.
 SpaceInstanceTransactionDetails getTransactionDetails()
           
 

Method Detail

getCount

int getCount()
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

SpaceInstanceTransactionDetails getTransactionDetails()
Returns:
the transaction details of this Space instance.
Since:
9.0.0

getConnectionDetails

SpaceInstanceConnectionDetails getConnectionDetails()
Returns:
the connection details of this Space instance.
Since:
9.0.0

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.