public final class LocalCacheElement extends Object implements Externalizable
Modifier and Type | Class and Description |
---|---|
static class |
LocalCacheElement.IncrDecrResult |
Constructor and Description |
---|
LocalCacheElement() |
LocalCacheElement(Key key) |
LocalCacheElement(Key key,
int flags,
int expire,
long casUnique) |
Modifier and Type | Method and Description |
---|---|
LocalCacheElement.IncrDecrResult |
add(int mod) |
LocalCacheElement |
append(LocalCacheElement element) |
boolean |
equals(Object o) |
long |
getCasUnique() |
byte[] |
getData() |
int |
getExpire() |
int |
getFlags() |
Key |
getKey() |
int |
hashCode() |
static LocalCacheElement |
key(Key key) |
static int |
Now() |
LocalCacheElement |
prepend(LocalCacheElement element) |
void |
readExternal(ObjectInput in) |
void |
setCasUnique(long casUnique) |
void |
setData(byte[] data) |
int |
size() |
void |
writeExternal(ObjectOutput out) |
public LocalCacheElement()
public LocalCacheElement(Key key)
public LocalCacheElement(Key key, int flags, int expire, long casUnique)
public static int Now()
public int size()
public LocalCacheElement append(LocalCacheElement element)
public LocalCacheElement prepend(LocalCacheElement element)
public LocalCacheElement.IncrDecrResult add(int mod)
public static LocalCacheElement key(Key key)
public int getExpire()
public int getFlags()
public byte[] getData()
public Key getKey()
public long getCasUnique()
public void setCasUnique(long casUnique)
public void setData(byte[] data)
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
IOException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.