Class CompactionLogger
java.lang.Object
org.apache.cassandra.db.compaction.CompactionLogger
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfaceThis will produce the compaction strategy's starting information.static interfaceThis is an interface to allow writing to a different interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompaction(long startTime, Collection<SSTableReader> input, long endTime, Collection<SSTableReader> output) voiddisable()voidenable()voidflush(Collection<SSTableReader> sstables) voidpending(AbstractCompactionStrategy strategy, int remaining) static voidshutdownNowAndWait(long timeout, TimeUnit unit)
-
Constructor Details
-
CompactionLogger
-
-
Method Details
-
enable
public void enable() -
disable
public void disable() -
flush
-
compaction
public void compaction(long startTime, Collection<SSTableReader> input, long endTime, Collection<SSTableReader> output) -
pending
-
shutdownNowAndWait
public static void shutdownNowAndWait(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException - Throws:
InterruptedExceptionTimeoutException
-