E
public class Task<E> extends Object
WorkQueue
Task(String taskId, E payload)
<F> Task<F>
map(Function<E,F> mapper)
payload()
String
taskId()
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Task(String taskId, E payload)
taskId
payload
public String taskId()
public E payload()
public <F> Task<F> map(Function<E,F> mapper)
F
mapper
public String toString()
toString
Object