Package com.j_spaces.core.cache
Class SpaceServerEntryImpl
java.lang.Object
com.j_spaces.core.cache.SpaceServerEntryImpl
- All Implemented Interfaces:
ServerEntry,SpaceServerEntry
- Since:
- 11.0
- Author:
- yechielf
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongGets the entry expiration time.getFixedPropertyValue(int position) Gets the specified fixed property's value.getPathValue(String path) Gets the specified path's value.getPropertyValue(String name) Gets the specified property's value.Gets the entry's type descriptor.getUid()intGets the entry version.booleanvoidvoid
-
Field Details
-
MAX_TIME_TO_WAIT_FOR_INDEX_REMOVAL
public static long MAX_TIME_TO_WAIT_FOR_INDEX_REMOVAL
-
-
Constructor Details
-
SpaceServerEntryImpl
-
-
Method Details
-
getUid
- Specified by:
getUidin interfaceSpaceServerEntry
-
getEntryCacheInfo
-
getSpaceTypeDescriptor
Description copied from interface:ServerEntryGets the entry's type descriptor.- Specified by:
getSpaceTypeDescriptorin interfaceServerEntry- Returns:
- Current entry's type descriptor.
-
getFixedPropertyValue
Description copied from interface:ServerEntryGets the specified fixed property's value. The returned value is a reference to the actual property kept in the space.- Specified by:
getFixedPropertyValuein interfaceServerEntry- Parameters:
position- Position of requested property.- Returns:
- Requested property's value in current entry.
-
getPropertyValue
Description copied from interface:ServerEntryGets the specified property's value. The returned value is a reference to the actual property kept in the space.- Specified by:
getPropertyValuein interfaceServerEntry- Parameters:
name- Name of requested property.- Returns:
- Requested property's value in current entry.
-
getPathValue
Description copied from interface:ServerEntryGets the specified path's value. The returned value is a reference to the actual property kept in the space.- Specified by:
getPathValuein interfaceServerEntry- Parameters:
path- Path pointing to the requested property.- Returns:
- Requested path's value in current entry.
-
getVersion
public int getVersion()Description copied from interface:ServerEntryGets the entry version.- Specified by:
getVersionin interfaceServerEntry- Returns:
- the entry version.
-
getExpirationTime
public long getExpirationTime()Description copied from interface:ServerEntryGets the entry expiration time.- Specified by:
getExpirationTimein interfaceServerEntry- Returns:
- the entry expiration time.
-
isRemovedFromForeignIndex
public boolean isRemovedFromForeignIndex() -
setRemovedFromForeignIndex
public void setRemovedFromForeignIndex() -
waitForRemovalFromForeignIndex
public void waitForRemovalFromForeignIndex() -
equals
-