GigaSpaces XAP 7.0 API

com.j_spaces.javax.cache
Interface CacheEntry

All Superinterfaces:
Map.Entry<Object,Object>

Deprecated.

@Deprecated
public interface CacheEntry
extends Map.Entry<Object,Object>

Each CacheEntry should implements this interface.

Since:
4.5
Version:
1.0
Author:
Guy Korland

Method Summary
 long getVersion()
          Deprecated. Returns a version counter.
 
Methods inherited from interface java.util.Map.Entry
equals, getKey, getValue, hashCode, setValue
 

Method Detail

getVersion

long getVersion()
Deprecated. 
Returns a version counter. An implementation may use timestamps for this or an incrementing number. Timestamps usually have issues with granularity and are harder to use across clusters or threads, so an incrementing counter is often safer.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.