| Package | Description |
|---|---|
| org.elasticsearch.index.translog |
| Modifier and Type | Method and Description |
|---|---|
static TranslogWriter.Type |
TranslogWriter.Type.fromString(String type) |
TranslogWriter.Type |
TranslogConfig.getType()
Returns the translog type
|
static TranslogWriter.Type |
TranslogWriter.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslogWriter.Type[] |
TranslogWriter.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static TranslogWriter |
TranslogWriter.create(TranslogWriter.Type type,
ShardId shardId,
String translogUUID,
long fileGeneration,
Path file,
Callback<org.elasticsearch.index.translog.ChannelReference> onClose,
int bufferSize,
org.elasticsearch.index.translog.TranslogWriter.ChannelFactory channelFactory) |
void |
TranslogConfig.setType(TranslogWriter.Type type)
Sets the TranslogType for this Translog.
|
Copyright © 2009–2017. All rights reserved.