public class SplitShardRequest extends Request
| Modifier and Type | Field and Description |
|---|---|
protected String |
mLogStore |
protected int |
mShardCount |
protected int |
mShardId |
| Constructor and Description |
|---|
SplitShardRequest(String project,
String logStore,
int shardId,
Consts.CursorMode mode) |
SplitShardRequest(String project,
String logStore,
int shardId,
int shardCount) |
SplitShardRequest(String project,
String logStore,
int shardId,
String midHash)
Construct a get cursor request
|
| Modifier and Type | Method and Description |
|---|---|
String |
GetLogStore() |
String |
GetMidHash() |
String |
GetShardCount() |
int |
GetShardId() |
void |
SetLogStore(String logStore) |
void |
SetMidHash(String midHash) |
void |
SetShardCount(int shardCount) |
void |
SetShardId(int shardId) |
GetAllParams, GetParam, GetProject, SetParamprotected String mLogStore
protected int mShardId
protected int mShardCount
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 GetShardCount()
public void SetShardCount(int shardCount)
public String GetMidHash()
public void SetMidHash(String midHash)
Copyright © 2025. All Rights Reserved.