public class GetCursorRequest extends Request
| Modifier and Type | Field and Description |
|---|---|
protected String |
mLogStore |
protected int |
mShardId |
| Constructor and Description |
|---|
GetCursorRequest(String project,
String logStore,
int shardId,
Consts.CursorMode mode) |
GetCursorRequest(String project,
String logStore,
int shardId,
long fromTime)
Construct a get cursor request
|
| Modifier and Type | Method and Description |
|---|---|
String |
GetFrom() |
String |
GetLogStore() |
int |
GetShardId() |
void |
SetFrom(Consts.CursorMode mode) |
void |
SetFrom(long fromTime) |
void |
SetLogStore(String logStore) |
void |
SetShardId(int shardId) |
GetAllParams, GetParam, GetProject, SetParamprotected String mLogStore
protected int mShardId
public GetCursorRequest(String project, String logStore, int shardId, long fromTime)
project - project namelogStore - log stream nameshardId - shard idfromTime - from timepublic GetCursorRequest(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 void SetFrom(long fromTime)
fromTime - the from time to setpublic String GetFrom()
public void SetFrom(Consts.CursorMode mode)
mode - the mode to setCopyright © 2025. All Rights Reserved.