public enum TraceFormat extends Enum<TraceFormat>
| Enum Constant and Description |
|---|
ADAPT_SIZE |
ADDRESS |
ADDRESS_PENALTIES |
ARC |
CACHE2K |
CAMELAB |
CLIMB |
CORDA |
GRADLE |
LIRS |
LRB |
OUTBRAIN |
SCARAB |
SNIA_CAMBRIDGE |
SNIA_K5CLOUD |
SNIA_OBJECT_STORE |
SNIA_TENCENT_BLOCK |
SNIA_TENCENT_PHOTO |
TWITTER |
UMASS_STORAGE |
UMASS_YOUTUBE |
WIKIPEDIA |
| Modifier and Type | Method and Description |
|---|---|
static TraceFormat |
named(String name)
Returns the format based on its configuration name.
|
TraceReader |
readFiles(List<String> filePaths)
Returns a new reader for streaming the events from the trace file.
|
static TraceFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraceFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceFormat ADDRESS
public static final TraceFormat ADDRESS_PENALTIES
public static final TraceFormat ADAPT_SIZE
public static final TraceFormat ARC
public static final TraceFormat CACHE2K
public static final TraceFormat CAMELAB
public static final TraceFormat CLIMB
public static final TraceFormat CORDA
public static final TraceFormat GRADLE
public static final TraceFormat LIRS
public static final TraceFormat LRB
public static final TraceFormat OUTBRAIN
public static final TraceFormat SCARAB
public static final TraceFormat SNIA_CAMBRIDGE
public static final TraceFormat SNIA_K5CLOUD
public static final TraceFormat SNIA_OBJECT_STORE
public static final TraceFormat SNIA_TENCENT_BLOCK
public static final TraceFormat SNIA_TENCENT_PHOTO
public static final TraceFormat TWITTER
public static final TraceFormat UMASS_STORAGE
public static final TraceFormat UMASS_YOUTUBE
public static final TraceFormat WIKIPEDIA
public static TraceFormat[] values()
for (TraceFormat c : TraceFormat.values()) System.out.println(c);
public static TraceFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic TraceReader readFiles(List<String> filePaths)
filePaths - the path to the files in the trace's formatpublic static TraceFormat named(String name)