|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.database.PollCacheKey
public class PollCacheKey
Represents a key in the PollCache. All information needed to reload a cache entry is included in the key.
Constructor Summary | |
---|---|
PollCacheKey(java.lang.String sql,
int blockID)
Creates a new PollCacheKey. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getBlockID()
Returns the blockID of the key, or -1 if there is not a blockID. |
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
java.lang.String |
getSql()
Returns the sql query of the key. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PollCacheKey(java.lang.String sql, int blockID)
sql
- the sql query for the cache entry data.blockID
- the blockID of the entry.Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getSql()
public int getBlockID()
public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |