org.ektorp
Class DesignDocInfo.ViewIndex

java.lang.Object
  extended by org.ektorp.support.CouchDbDocument
      extended by org.ektorp.support.OpenCouchDbDocument
          extended by org.ektorp.DesignDocInfo.ViewIndex
All Implemented Interfaces:
Serializable
Enclosing class:
DesignDocInfo

public static class DesignDocInfo.ViewIndex
extends OpenCouchDbDocument

See Also:
Serialized Form

Constructor Summary
DesignDocInfo.ViewIndex()
           
 
Method Summary
 long getDiskSize()
          Size in bytes of the view as stored on disk.
 String getLanguage()
          Language for the defined views.
 long getPurgeSeq()
          The purge sequence that has been processed.
 String getSignature()
          MD5 signature of the views for the design document
 long getUpdateSeq()
          The update sequence of the corresponding database that has been indexed.
 int getWaitingClients()
          Number of clients waiting on views from this design document.
 boolean isCompactRunning()
          Indicates whether a compaction routine is currently running on the view
 boolean isUpdaterRunning()
          Indicates if the view is currently being updated.
 boolean isWaitingCommit()
          Indicates if there are outstanding commits to the underlying database that need to processed.
 
Methods inherited from class org.ektorp.support.OpenCouchDbDocument
getAnonymous, setAnonymous
 
Methods inherited from class org.ektorp.support.CouchDbDocument
addInlineAttachment, getAttachments, getConflicts, getId, getRevision, getRevisions, hasConflict, isNew, removeAttachment, setId, setRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignDocInfo.ViewIndex

public DesignDocInfo.ViewIndex()
Method Detail

isCompactRunning

public boolean isCompactRunning()
Indicates whether a compaction routine is currently running on the view

Returns:

isUpdaterRunning

public boolean isUpdaterRunning()
Indicates if the view is currently being updated.

Returns:

getLanguage

public String getLanguage()
Language for the defined views.

Returns:

getPurgeSeq

public long getPurgeSeq()
The purge sequence that has been processed.

Returns:

isWaitingCommit

public boolean isWaitingCommit()
Indicates if there are outstanding commits to the underlying database that need to processed.

Returns:

getWaitingClients

public int getWaitingClients()
Number of clients waiting on views from this design document.

Returns:

getSignature

public String getSignature()
MD5 signature of the views for the design document

Returns:

getUpdateSeq

public long getUpdateSeq()
The update sequence of the corresponding database that has been indexed.

Returns:

getDiskSize

public long getDiskSize()
Size in bytes of the view as stored on disk.

Returns:


Copyright © 2011. All Rights Reserved.