public class ObjectInfo
extends java.lang.Object
Constructor and Description |
---|
ObjectInfo(ObjectCache _cache,
java.lang.String _key,
java.lang.Object _obj,
long _size) |
ObjectInfo(ObjectCache _cache,
java.lang.String _key,
java.lang.Object _obj,
long _size,
java.util.Date _dateCreated) |
ObjectInfo(ObjectCache _cache,
java.lang.String _key,
java.lang.Object _obj,
long _size,
java.util.Date _dateCreated,
java.util.Date _dateLastAccessed) |
ObjectInfo(ObjectCache _cache,
java.lang.String _key,
java.lang.Object _obj,
long _size,
java.util.Date _dateCreated,
java.util.Date _dateLastAccessed,
int _countAccessed) |
Modifier and Type | Method and Description |
---|---|
ObjectCache |
getCache() |
int |
getCountAccessed() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateLastAccessed() |
java.lang.String |
getKey() |
java.lang.Object |
getObject() |
long |
getSize() |
void |
setCache(ObjectCache $1) |
void |
setCountAccessed(int $7) |
void |
setDateCreated(java.util.Date $5) |
void |
setDateLastAccessed(java.util.Date $6) |
void |
setKey(java.lang.String $2) |
void |
setObject(java.lang.Object $3) |
void |
setSize(long $4) |
void |
updateLastAccessed()
Increases the access count and the last accessed timestamp for the object.
|
public ObjectInfo(ObjectCache _cache, java.lang.String _key, java.lang.Object _obj, long _size)
public ObjectInfo(ObjectCache _cache, java.lang.String _key, java.lang.Object _obj, long _size, java.util.Date _dateCreated)
public ObjectInfo(ObjectCache _cache, java.lang.String _key, java.lang.Object _obj, long _size, java.util.Date _dateCreated, java.util.Date _dateLastAccessed)
public ObjectInfo(ObjectCache _cache, java.lang.String _key, java.lang.Object _obj, long _size, java.util.Date _dateCreated, java.util.Date _dateLastAccessed, int _countAccessed)
public void updateLastAccessed()
public ObjectCache getCache()
public void setCache(ObjectCache $1)
public java.lang.String getKey()
public void setKey(java.lang.String $2)
public java.lang.Object getObject()
public void setObject(java.lang.Object $3)
public long getSize()
public void setSize(long $4)
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date $5)
public java.util.Date getDateLastAccessed()
public void setDateLastAccessed(java.util.Date $6)
public int getCountAccessed()
public void setCountAccessed(int $7)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.