com.jivesoftware.forum.database
Class DbStatusLevelManager.LeaderQueryCacheKey
java.lang.Object
com.jivesoftware.forum.database.DbStatusLevelManager.LeaderQueryCacheKey
- All Implemented Interfaces:
- Cacheable, com.tangosol.io.ExternalizableLite, java.io.Serializable
- Enclosing class:
- DbStatusLevelManager
public static class DbStatusLevelManager.LeaderQueryCacheKey
- extends java.lang.Object
- implements Cacheable, com.tangosol.io.ExternalizableLite
Class to be used as a key for the LeaderQueryCache
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DbStatusLevelManager.LeaderQueryCacheKey
public DbStatusLevelManager.LeaderQueryCacheKey()
DbStatusLevelManager.LeaderQueryCacheKey
public DbStatusLevelManager.LeaderQueryCacheKey(int objectType,
long objectId,
int startIndex,
int numResults)
getObjectType
public int getObjectType()
getObjectID
public long getObjectID()
getStartIndex
public int getStartIndex()
getNumResults
public int getNumResults()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
writeExternal
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface com.tangosol.io.ExternalizableLite
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.DataInput in)
throws java.io.IOException
- Specified by:
readExternal
in interface com.tangosol.io.ExternalizableLite
- Throws:
java.io.IOException
getCachedSize
public int getCachedSize()
- Description copied from interface:
Cacheable
- Returns the approximate size of the Object in bytes. The size should be
considered to be a best estimate of how much memory the Object occupies
and may be based on empirical trials or dynamic calculations.
- Specified by:
getCachedSize
in interface Cacheable
- Returns:
- the size of the Object in bytes.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2006 Jive Software.