public abstract class AbstractRxTask extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
static int |
OPTION_DIRECT_BUFFER |
protected boolean |
useBufferPool |
Constructor and Description |
---|
AbstractRxTask(ListenCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ListenCallback |
getCallback() |
int |
getOptions() |
RxTaskPool |
getTaskPool() |
boolean |
getUseBufferPool() |
boolean |
isDoRun() |
void |
setCallback(ListenCallback callback) |
void |
setDoRun(boolean doRun) |
void |
setOptions(int options) |
void |
setTaskPool(RxTaskPool pool) |
void |
setUseBufferPool(boolean usebufpool) |
public static final int OPTION_DIRECT_BUFFER
protected boolean useBufferPool
public AbstractRxTask(ListenCallback callback)
public void setTaskPool(RxTaskPool pool)
public void setOptions(int options)
public void setCallback(ListenCallback callback)
public void setDoRun(boolean doRun)
public RxTaskPool getTaskPool()
public int getOptions()
public ListenCallback getCallback()
public boolean isDoRun()
public void close()
public void setUseBufferPool(boolean usebufpool)
public boolean getUseBufferPool()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.