Daemon.State| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
long |
getGeneratedTasksCount() |
IoType |
getIoType() |
long |
getTransferSizeEstimate() |
int |
hashCode() |
boolean |
isRecycling() |
void |
recycle(O ioTask)
Enqueues the task for further recycling
|
void |
setOutputs(java.util.List<? extends com.github.akurilov.commons.io.Output<O>> ioTaskOutputs)
Set the generated tasks destination
|
void |
setRateThrottle(com.github.akurilov.commons.concurrent.Throttle<java.lang.Object> rateThrottle) |
void |
setWeightThrottle(com.github.akurilov.commons.concurrent.WeightThrottle weightThrottle) |
void setWeightThrottle(com.github.akurilov.commons.concurrent.WeightThrottle weightThrottle)
void setRateThrottle(com.github.akurilov.commons.concurrent.Throttle<java.lang.Object> rateThrottle)
void setOutputs(java.util.List<? extends com.github.akurilov.commons.io.Output<O>> ioTaskOutputs)
ioTaskOutputs - list of the task outputslong getGeneratedTasksCount()
long getTransferSizeEstimate()
IoType getIoType()
int getBatchSize()
int hashCode()
hashCode in class java.lang.Objectboolean isRecycling()
void recycle(O ioTask)
ioTask - the task to recycle