Class SpaceRuntimeInfo

java.lang.Object
com.j_spaces.core.admin.SpaceRuntimeInfo
All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable

public class SpaceRuntimeInfo extends Object implements SmartExternalizable
 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
 
Version:
1.0
Author:
Igor Goldenberg
See Also:
  • Field Details

    • m_ClassNames

      public List<String> m_ClassNames
      List of all the classes' names.
    • m_NumOFEntries

      public List<Integer> m_NumOFEntries
      List of numbers of entries for each class correlated to m_ClassNames.
    • m_RamNumOFEntries

      public List<Integer> m_RamNumOFEntries
    • m_NumOFTemplates

      public List<Integer> m_NumOFTemplates
      List of numbers of pending templates for each class correlated to m_ClassNames.
  • Constructor Details

    • SpaceRuntimeInfo

      public SpaceRuntimeInfo()
      Empty constructor.
    • SpaceRuntimeInfo

      public SpaceRuntimeInfo(List<String> classNames, List<Integer> numOfEntries, List<Integer> numOFTemplates, List<Integer> ramNumOFEntries, long diskSize, long freeSpace, TieredStorageConfig tieredStorageConfig)
      Constructor.
      Parameters:
      classNames - list of names of all the classes in the space
      numOfEntries - list of numbers of entries for each class correlated to classNames
  • Method Details