|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RogLogCompactionReader.RunCompletionReason>
com.neeve.rog.log.RogLogCompactionReader.RunCompletionReason
public static enum RogLogCompactionReader.RunCompletionReason
Enumerates the various reasons why a RogLogCompactionReader.run(int, long)
invocation completes
Enum Constant Summary | |
---|---|
Closed
Indicates the compaction reader ws closed while the RogLogCompactionReader.run(int, long)
was executing |
|
EndOfFile
Indicates the RogLogCompactionReader.run(int, long) method reached the end of the file
and detected that the last checkpoint had been rolled over to
a new log file |
|
LogNotCheckpointed
Indicates that the entries in the log are not checkpointed. |
|
MaxFilePointerReached
Indicates the RogLogCompactionReader.run(int, long) method reached the max file pointer
supplied by the caller to the run method. |
Method Summary | |
---|---|
static RogLogCompactionReader.RunCompletionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RogLogCompactionReader.RunCompletionReason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RogLogCompactionReader.RunCompletionReason LogNotCheckpointed
public static final RogLogCompactionReader.RunCompletionReason EndOfFile
RogLogCompactionReader.run(int, long)
method reached the end of the file
and detected that the last checkpoint had been rolled over to
a new log file
public static final RogLogCompactionReader.RunCompletionReason MaxFilePointerReached
RogLogCompactionReader.run(int, long)
method reached the max file pointer
supplied by the caller to the run method.
public static final RogLogCompactionReader.RunCompletionReason Closed
RogLogCompactionReader.run(int, long)
was executing
Method Detail |
---|
public static RogLogCompactionReader.RunCompletionReason[] values()
for (RogLogCompactionReader.RunCompletionReason c : RogLogCompactionReader.RunCompletionReason.values()) System.out.println(c);
public static RogLogCompactionReader.RunCompletionReason valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |