org.apache.cassandra.db.commitlog
Class CommitLog

java.lang.Object
  extended by org.apache.cassandra.db.commitlog.CommitLog

public class CommitLog
extends java.lang.Object


Field Summary
static CommitLog instance
           
 
Method Summary
 void add(RowMutation rowMutation)
           
 void discardCompletedSegments(java.lang.Integer cfId, ReplayPosition context)
           
 ReplayPosition getContext()
           
static int recover()
           
static int recover(java.io.File[] clogs)
           
 void resetUnsafe()
           
 void shutdownBlocking()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final CommitLog instance
Method Detail

resetUnsafe

public void resetUnsafe()

recover

public static int recover()
                   throws java.io.IOException
Throws:
java.io.IOException

recover

public static int recover(java.io.File[] clogs)
                   throws java.io.IOException
Throws:
java.io.IOException

getContext

public ReplayPosition getContext()

add

public void add(RowMutation rowMutation)
         throws java.io.IOException
Throws:
java.io.IOException

discardCompletedSegments

public void discardCompletedSegments(java.lang.Integer cfId,
                                     ReplayPosition context)
                              throws java.io.IOException
Throws:
java.io.IOException

shutdownBlocking

public void shutdownBlocking()
                      throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException


Copyright © 2011 The Apache Software Foundation