|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.core.admin.SpaceRuntimeInfo
public class SpaceRuntimeInfo
This class describes the content of the space,
on com.j_spaces.core.admin.IRemoteJSpaceAdmin.getRuntimeInfo()
call.
For example:
IJSpace spaceProxy;
...
IRemoteJSpaceAdmin spaceAdmin = spaceProxy.getAdmin();
SpaceRuntimeInfo rtInfo = spaceAdmin.getRuntimeInfo();
String className = rtInfo.m_ClassNames.get(0);
Integer count = rtInfo.m_NumOFEntries.get(0);
System.out.println("ClassName: " + className + ", number of entries: " + count);
The output should be:
ClassName: example.Person, number of entries: 34
Field Summary | |
---|---|
List<String> |
m_ClassNames
List of all the classes' names. |
List<Integer> |
m_NumOFEntries
List of numbers of entries for each class correlated to m_ClassNames . |
List<Integer> |
m_NumOFTemplates
List of numbers of pending templates for each class correlated to m_ClassNames . |
Constructor Summary | |
---|---|
SpaceRuntimeInfo()
Empty constructor. |
|
SpaceRuntimeInfo(List<String> classNames,
List<Integer> numOfEntries,
List<Integer> numOFTemplates)
Constructor. |
Method Summary | |
---|---|
SpaceRuntimeInfo |
appendSpaceRuntimeInfo(SpaceRuntimeInfo spaceRuntimeInfo)
Merge two SpaceRuntimeInfo instances. |
void |
readExternal(ObjectInput in)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public List<String> m_ClassNames
public List<Integer> m_NumOFEntries
m_ClassNames
.
public List<Integer> m_NumOFTemplates
m_ClassNames
.
Constructor Detail |
---|
public SpaceRuntimeInfo()
public SpaceRuntimeInfo(List<String> classNames, List<Integer> numOfEntries, List<Integer> numOFTemplates)
classNames
- list of names of all the classes in the spacenumOfEntries
- list of numbers of entries for each class correlated to classNames
Method Detail |
---|
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public SpaceRuntimeInfo appendSpaceRuntimeInfo(SpaceRuntimeInfo spaceRuntimeInfo)
spaceRuntimeInfo
-
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |