public static enum StorageEngineFactory.StoreMode extends java.lang.Enum<StorageEngineFactory.StoreMode>
StorageEngine
can be created in.
The BulkLoad mode is used when bulk loading of data onto the store, e.g., store-restoration at Samza
startup. In this mode, the underlying store will tailor itself for write-intensive ops -- tune its params,
adapt its compaction behaviour, etc.
The ReadWrite mode is used for normal read-write ops by the application.Modifier and Type | Field and Description |
---|---|
java.lang.String |
mode |
Modifier and Type | Method and Description |
---|---|
static StorageEngineFactory.StoreMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StorageEngineFactory.StoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageEngineFactory.StoreMode BulkLoad
public static final StorageEngineFactory.StoreMode ReadWrite
public static StorageEngineFactory.StoreMode[] values()
for (StorageEngineFactory.StoreMode c : StorageEngineFactory.StoreMode.values()) System.out.println(c);
public static StorageEngineFactory.StoreMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null