org.ektorp
Class DbInfo

java.lang.Object
  extended by org.ektorp.DbInfo
All Implemented Interfaces:
java.io.Serializable

public class DbInfo
extends java.lang.Object
implements java.io.Serializable

Author:
henrik lundgren
See Also:
Serialized Form

Constructor Summary
DbInfo(java.lang.String dbName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDbName()
           
 int getDiskFormatVersion()
           
 long getDiskSize()
           
 long getDocCount()
           
 int getDocDelCount()
           
 long getInstanceStartTime()
           
 int getPurgeSeq()
           
 java.util.Map<java.lang.String,java.lang.Object> getUnknownFields()
           
 int getUpdateSeq()
           
 int hashCode()
           
 boolean isCompactRunning()
           
 void setUnknown(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbInfo

public DbInfo(java.lang.String dbName)
Method Detail

isCompactRunning

public boolean isCompactRunning()

getDbName

public java.lang.String getDbName()
Returns:
Name of the database

getDiskFormatVersion

public int getDiskFormatVersion()
Returns:
Current version of the internal database format on disk

getDiskSize

public long getDiskSize()
Returns:
Current size in Bytes of the database (Note: Size of views indexes on disk are not included)

getDocCount

public long getDocCount()
Returns:
Number of documents (including design documents) in the database.

getDocDelCount

public int getDocDelCount()
Returns:

getInstanceStartTime

public long getInstanceStartTime()
Returns:
Timestamp of CouchDBs start time (ms)

getPurgeSeq

public int getPurgeSeq()
Returns:
Number of purge operations

getUpdateSeq

public int getUpdateSeq()
Returns:
Current number of updates to the database

setUnknown

public void setUnknown(java.lang.String key,
                       java.lang.Object value)

getUnknownFields

public java.util.Map<java.lang.String,java.lang.Object> getUnknownFields()

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


Copyright © 2011. All Rights Reserved.