public class Attributes extends Object implements Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
DISTRIBUTE |
static long |
NOFLUSH |
static long |
ORIGINAL |
static long |
REPLY |
static long |
SPOOL |
static long |
SYNCHRONIZE |
| Constructor and Description |
|---|
Attributes() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
long |
getCreateTime() |
long |
getFlags() |
long |
getIdleTime() |
protected CacheEventListener |
getListener() |
CacheLoader |
getLoader() |
int |
getSize() |
long |
getTimeToLive() |
long |
getVersion() |
protected boolean |
isDistributed() |
boolean |
isSet(long theFlags) |
protected void |
resetAttributes(Attributes other) |
void |
setDefaultTimeToLive(long ttl) |
void |
setFlags(long flags) |
void |
setIdleTime(long idle) |
protected void |
setLastUpdateTime(long t) |
void |
setListener(CacheEventListener l) |
void |
setLoader(CacheLoader l) |
void |
setSize(int size) |
void |
setTimeToLive(long timeToLive) |
void |
setVersion(long version) |
long |
timeToSeconds(int days,
int hours,
int minutes,
int seconds) |
String |
toString() |
protected void |
valueUpdated() |
public static final long DISTRIBUTE
public static final long NOFLUSH
public static final long REPLY
public static final long SYNCHRONIZE
public static final long SPOOL
public static final long ORIGINAL
public long getFlags()
public void setFlags(long flags)
public void setVersion(long version)
public void setTimeToLive(long timeToLive)
public void setDefaultTimeToLive(long ttl)
public void setIdleTime(long idle)
public void setListener(CacheEventListener l)
public void setSize(int size)
public int getSize()
public boolean isSet(long theFlags)
public long getCreateTime()
public CacheLoader getLoader()
protected CacheEventListener getListener()
public void setLoader(CacheLoader l)
public long getVersion()
public long getIdleTime()
public long getTimeToLive()
protected void setLastUpdateTime(long t)
public long timeToSeconds(int days,
int hours,
int minutes,
int seconds)
throws InvalidArgumentException
InvalidArgumentExceptionprotected final boolean isDistributed()
protected final void valueUpdated()
protected void resetAttributes(Attributes other)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.