GigaSpaces XAP 10.0.1 API

com.gigaspaces.server
Interface ServerEntry

All Known Subinterfaces:
EvictableServerEntry

public interface ServerEntry

Represents an entry stored in the space.

Since:
7.1
Author:
Niv Ingberg.

Method Summary
 long getExpirationTime()
          Gets the entry expiration time.
 Object getFixedPropertyValue(int position)
          Gets the specified fixed property's value.
 Object getPathValue(String path)
          Gets the specified path's value.
 Object getPropertyValue(String name)
          Gets the specified property's value.
 SpaceTypeDescriptor getSpaceTypeDescriptor()
          Gets the entry's type descriptor.
 int getVersion()
          Gets the entry version.
 

Method Detail

getSpaceTypeDescriptor

SpaceTypeDescriptor getSpaceTypeDescriptor()
Gets the entry's type descriptor.

Returns:
Current entry's type descriptor.

getFixedPropertyValue

Object getFixedPropertyValue(int position)
Gets the specified fixed property's value. The returned value is a reference to the actual property kept in the space.

Parameters:
position - Position of requested property.
Returns:
Requested property's value in current entry.

getPropertyValue

Object getPropertyValue(String name)
Gets the specified property's value. The returned value is a reference to the actual property kept in the space.

Parameters:
name - Name of requested property.
Returns:
Requested property's value in current entry.

getPathValue

Object getPathValue(String path)
Gets the specified path's value. The returned value is a reference to the actual property kept in the space.

Parameters:
path - Path pointing to the requested property.
Returns:
Requested path's value in current entry.

getVersion

int getVersion()
Gets the entry version.

Returns:
the entry version.
Since:
9.0.0

getExpirationTime

long getExpirationTime()
Gets the entry expiration time.

Returns:
the entry expiration time.
Since:
9.0.0

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.