@FunctionalInterface public interface Message
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ratis.thirdparty.com.google.protobuf.ByteString |
getContent() |
static int |
getSize(Message message) |
default int |
size() |
static Message |
valueOf(org.apache.ratis.thirdparty.com.google.protobuf.AbstractMessage abstractMessage) |
static Message |
valueOf(org.apache.ratis.thirdparty.com.google.protobuf.ByteString bytes) |
static Message |
valueOf(org.apache.ratis.thirdparty.com.google.protobuf.ByteString bytes,
Supplier<String> stringSupplier) |
static Message |
valueOf(String string) |
static final Message EMPTY
static Message valueOf(org.apache.ratis.thirdparty.com.google.protobuf.ByteString bytes, Supplier<String> stringSupplier)
static Message valueOf(org.apache.ratis.thirdparty.com.google.protobuf.AbstractMessage abstractMessage)
static Message valueOf(org.apache.ratis.thirdparty.com.google.protobuf.ByteString bytes)
static int getSize(Message message)
org.apache.ratis.thirdparty.com.google.protobuf.ByteString getContent()
default int size()
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.