Serializablepublic class GetCursorRequest extends Request
| 构造器 | 说明 |
|---|---|
GetCursorRequest(String project,
String logStore,
int shardId,
long fromTime) |
Construct a get cursor request
|
GetCursorRequest(String project,
String logStore,
int shardId,
Consts.CursorMode mode) |
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
String |
GetFrom() |
|
String |
GetLogStore() |
|
int |
GetShardId() |
|
void |
SetFrom(long fromTime) |
|
void |
SetFrom(Consts.CursorMode mode) |
|
void |
SetLogStore(String logStore) |
|
void |
SetShardId(int shardId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllParams, 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 © 2018. All Rights Reserved.