public static final class RaftClientRequest.Type extends Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.ratis.proto.RaftProtos.DataStreamRequestTypeProto |
getDataStream() |
org.apache.ratis.proto.RaftProtos.ForwardRequestTypeProto |
getForward() |
org.apache.ratis.proto.RaftProtos.MessageStreamRequestTypeProto |
getMessageStream() |
org.apache.ratis.proto.RaftProtos.ReadRequestTypeProto |
getRead() |
org.apache.ratis.proto.RaftProtos.StaleReadRequestTypeProto |
getStaleRead() |
org.apache.ratis.proto.RaftProtos.RaftClientRequestProto.TypeCase |
getTypeCase() |
org.apache.ratis.proto.RaftProtos.WatchRequestTypeProto |
getWatch() |
org.apache.ratis.proto.RaftProtos.WriteRequestTypeProto |
getWrite() |
boolean |
is(org.apache.ratis.proto.RaftProtos.RaftClientRequestProto.TypeCase tCase) |
String |
toString() |
static String |
toString(org.apache.ratis.proto.RaftProtos.MessageStreamRequestTypeProto s) |
static String |
toString(org.apache.ratis.proto.RaftProtos.ReplicationLevel replication) |
static String |
toString(org.apache.ratis.proto.RaftProtos.WatchRequestTypeProto w) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.DataStreamRequestTypeProto dataStream) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.ForwardRequestTypeProto forward) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.MessageStreamRequestTypeProto messageStream) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.ReadRequestTypeProto read) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.StaleReadRequestTypeProto staleRead) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.WatchRequestTypeProto watch) |
static RaftClientRequest.Type |
valueOf(org.apache.ratis.proto.RaftProtos.WriteRequestTypeProto write) |
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.WriteRequestTypeProto write)
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.DataStreamRequestTypeProto dataStream)
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.ForwardRequestTypeProto forward)
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.ReadRequestTypeProto read)
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.StaleReadRequestTypeProto staleRead)
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.WatchRequestTypeProto watch)
public static RaftClientRequest.Type valueOf(org.apache.ratis.proto.RaftProtos.MessageStreamRequestTypeProto messageStream)
public boolean is(org.apache.ratis.proto.RaftProtos.RaftClientRequestProto.TypeCase tCase)
public org.apache.ratis.proto.RaftProtos.RaftClientRequestProto.TypeCase getTypeCase()
public org.apache.ratis.proto.RaftProtos.WriteRequestTypeProto getWrite()
public org.apache.ratis.proto.RaftProtos.DataStreamRequestTypeProto getDataStream()
public org.apache.ratis.proto.RaftProtos.ForwardRequestTypeProto getForward()
public org.apache.ratis.proto.RaftProtos.MessageStreamRequestTypeProto getMessageStream()
public org.apache.ratis.proto.RaftProtos.ReadRequestTypeProto getRead()
public org.apache.ratis.proto.RaftProtos.StaleReadRequestTypeProto getStaleRead()
public org.apache.ratis.proto.RaftProtos.WatchRequestTypeProto getWatch()
public static String toString(org.apache.ratis.proto.RaftProtos.ReplicationLevel replication)
public static String toString(org.apache.ratis.proto.RaftProtos.WatchRequestTypeProto w)
public static String toString(org.apache.ratis.proto.RaftProtos.MessageStreamRequestTypeProto s)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.