Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database
Class DbReadTracker.ReadTrackerKey

java.lang.Object
  extended by com.jivesoftware.forum.database.DbReadTracker.ReadTrackerKey
All Implemented Interfaces:
Cacheable, com.tangosol.io.ExternalizableLite, java.io.Serializable
Enclosing class:
DbReadTracker

public static class DbReadTracker.ReadTrackerKey
extends java.lang.Object
implements Cacheable, com.tangosol.io.ExternalizableLite

See Also:
Serialized Form

Constructor Summary
DbReadTracker.ReadTrackerKey()
           
DbReadTracker.ReadTrackerKey(long objectID, long forumID)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getCachedSize()
          Returns the approximate size of the Object in bytes.
 long getForumID()
           
 long getObjectID()
           
 int hashCode()
           
 void readExternal(java.io.DataInput in)
           
 java.lang.String toString()
           
 void writeExternal(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbReadTracker.ReadTrackerKey

public DbReadTracker.ReadTrackerKey(long objectID,
                                    long forumID)

DbReadTracker.ReadTrackerKey

public DbReadTracker.ReadTrackerKey()
Method Detail

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

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

getObjectID

public long getObjectID()

getForumID

public long getForumID()

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.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.