public class StorageRpcClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
StorageRpcClient(int storageType,
CrailStorageClass storageClass,
InetSocketAddress serverAddress,
RpcConnection rpcConnection) |
| Modifier and Type | Method and Description |
|---|---|
DataNodeStatistics |
getDataNode() |
void |
setBlock(long lba,
long addr,
int length,
int key) |
public StorageRpcClient(int storageType,
CrailStorageClass storageClass,
InetSocketAddress serverAddress,
RpcConnection rpcConnection)
throws Exception
Exceptionpublic void setBlock(long lba,
long addr,
int length,
int key)
throws Exception
Exceptionpublic DataNodeStatistics getDataNode() throws Exception
ExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.