public abstract class Filter<T>
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected long |
blockTime |
protected Callback<T> |
callback |
protected Client |
client |
protected LogFilterResponse |
filter |
protected java.util.concurrent.ScheduledFuture<?> |
schedule |
protected java.util.concurrent.ScheduledExecutorService |
scheduledExecutorService |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cancel() |
protected abstract void |
process(java.util.List<LogWrapper.LogResult> logResults) |
void |
run(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
long blockTime) |
protected abstract LogFilterResponse |
sendRequest() |
protected final Client client
protected volatile LogFilterResponse filter
protected java.util.concurrent.ScheduledFuture<?> schedule
protected java.util.concurrent.ScheduledExecutorService scheduledExecutorService
protected long blockTime
public void run(java.util.concurrent.ScheduledExecutorService scheduledExecutorService,
long blockTime)
throws FilterException
FilterExceptionprotected abstract LogFilterResponse sendRequest()
protected abstract void process(java.util.List<LogWrapper.LogResult> logResults)
public void cancel()
throws FilterException
FilterException