Class SpaceServerEntryImpl

java.lang.Object
com.j_spaces.core.cache.SpaceServerEntryImpl
All Implemented Interfaces:
ServerEntry, SpaceServerEntry

public class SpaceServerEntryImpl extends Object implements SpaceServerEntry
Since:
11.0
Author:
yechielf
  • Field Details

    • MAX_TIME_TO_WAIT_FOR_INDEX_REMOVAL

      public static long MAX_TIME_TO_WAIT_FOR_INDEX_REMOVAL
  • Constructor Details

  • Method Details

    • getUid

      public String getUid()
      Specified by:
      getUid in interface SpaceServerEntry
    • getEntryCacheInfo

      public IEntryCacheInfo getEntryCacheInfo()
    • getSpaceTypeDescriptor

      public SpaceTypeDescriptor getSpaceTypeDescriptor()
      Description copied from interface: ServerEntry
      Gets the entry's type descriptor.
      Specified by:
      getSpaceTypeDescriptor in interface ServerEntry
      Returns:
      Current entry's type descriptor.
    • getFixedPropertyValue

      public Object getFixedPropertyValue(int position)
      Description copied from interface: ServerEntry
      Gets the specified fixed property's value. The returned value is a reference to the actual property kept in the space.
      Specified by:
      getFixedPropertyValue in interface ServerEntry
      Parameters:
      position - Position of requested property.
      Returns:
      Requested property's value in current entry.
    • getPropertyValue

      public Object getPropertyValue(String name)
      Description copied from interface: ServerEntry
      Gets the specified property's value. The returned value is a reference to the actual property kept in the space.
      Specified by:
      getPropertyValue in interface ServerEntry
      Parameters:
      name - Name of requested property.
      Returns:
      Requested property's value in current entry.
    • getPathValue

      public Object getPathValue(String path)
      Description copied from interface: ServerEntry
      Gets the specified path's value. The returned value is a reference to the actual property kept in the space.
      Specified by:
      getPathValue in interface ServerEntry
      Parameters:
      path - Path pointing to the requested property.
      Returns:
      Requested path's value in current entry.
    • getVersion

      public int getVersion()
      Description copied from interface: ServerEntry
      Gets the entry version.
      Specified by:
      getVersion in interface ServerEntry
      Returns:
      the entry version.
    • getExpirationTime

      public long getExpirationTime()
      Description copied from interface: ServerEntry
      Gets the entry expiration time.
      Specified by:
      getExpirationTime in interface ServerEntry
      Returns:
      the entry expiration time.
    • isRemovedFromForeignIndex

      public boolean isRemovedFromForeignIndex()
    • setRemovedFromForeignIndex

      public void setRemovedFromForeignIndex()
    • waitForRemovalFromForeignIndex

      public void waitForRemovalFromForeignIndex()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object