org.apache.commons.cache
Class CachedObjectInfoImpl
java.lang.Object
org.apache.commons.cache.CachedObjectInfoImpl
- All Implemented Interfaces:
- Serializable, CachedObjectInfo
public class CachedObjectInfoImpl
- extends Object
- implements CachedObjectInfo
A simple implementation of CachedObjectInfo
.
- Version:
- $Id: CachedObjectInfoImpl.java 155435 2005-02-26 13:17:27Z dirkv $
- Author:
- Rodney Waldhoff
- See Also:
- Serialized Form
_key
protected Serializable _key
_expiry
protected Long _expiry
_cost
protected Long _cost
CachedObjectInfoImpl
public CachedObjectInfoImpl(Serializable key,
Long expiry,
Long cost)
getKey
public Serializable getKey()
- Specified by:
getKey
in interface CachedObjectInfo
getExpirationTs
public Long getExpirationTs()
- Specified by:
getExpirationTs
in interface CachedObjectInfo
getCost
public Long getCost()
- Specified by:
getCost
in interface CachedObjectInfo
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.