Serializablepublic class SplitShardRequest extends Request
| 构造器 | 说明 |
|---|---|
SplitShardRequest(String project,
String logStore,
int shardId,
Consts.CursorMode mode) |
|
SplitShardRequest(String project,
String logStore,
int shardId,
String midHash) |
Construct a get cursor request
|
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
String |
GetLogStore() |
|
String |
GetMidHash() |
|
int |
GetShardId() |
|
void |
SetLogStore(String logStore) |
|
void |
SetMidHash(String midHash) |
|
void |
SetShardId(int shardId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllParams, GetParam, GetProject, SetParamprotected String mLogStore
protected int mShardId
public SplitShardRequest(String project, String logStore, int shardId, String midHash)
project - project namelogStore - log stream nameshardId - shard idmidHash - midHashpublic SplitShardRequest(String project, String logStore, int shardId, Consts.CursorMode mode)
public String GetLogStore()
public void SetLogStore(String logStore)
logStore - the logStore to setpublic int GetShardId()
public void SetShardId(int shardId)
shardId - the shardId to setpublic String GetMidHash()
public void SetMidHash(String midHash)
Copyright © 2018. All Rights Reserved.