public class SpaceRuntimeInfo extends Object implements Externalizable
 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
 | Modifier and Type | Field and Description | 
|---|---|
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 and Description | 
|---|
SpaceRuntimeInfo()
Empty constructor. 
 | 
SpaceRuntimeInfo(List<String> classNames,
                List<Integer> numOfEntries,
                List<Integer> numOFTemplates)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SpaceRuntimeInfo | 
appendSpaceRuntimeInfo(SpaceRuntimeInfo spaceRuntimeInfo)
Merge two SpaceRuntimeInfo instances. 
 | 
void | 
readExternal(ObjectInput in) | 
void | 
writeExternal(ObjectOutput out) | 
public List<Integer> m_NumOFEntries
m_ClassNames.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic SpaceRuntimeInfo appendSpaceRuntimeInfo(SpaceRuntimeInfo spaceRuntimeInfo)
Copyright © GigaSpaces.