public static enum TranslogWriter.Type extends Enum<TranslogWriter.Type>
| 修飾子とタイプ | メソッドと説明 |
|---|---|
abstract TranslogWriter |
create(ShardId shardId,
long generation,
org.elasticsearch.index.translog.ChannelReference raf,
int bufferSize) |
static TranslogWriter.Type |
fromString(String type) |
static TranslogWriter.Type |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static TranslogWriter.Type[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final TranslogWriter.Type SIMPLE
public static final TranslogWriter.Type BUFFERED
public static TranslogWriter.Type[] values()
for(TranslogWriter.Type c: TranslogWriter.Type.values()) System.out.println(c);
public static TranslogWriter.Type valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public abstract TranslogWriter create(ShardId shardId, long generation, org.elasticsearch.index.translog.ChannelReference raf, int bufferSize) throws IOException
IOExceptionpublic static TranslogWriter.Type fromString(String type)
Copyright © 2009–2016. All rights reserved.