org.apache.s4.core.ft
Class FetchTask

java.lang.Object
  extended by org.apache.s4.core.ft.FetchTask
All Implemented Interfaces:
java.util.concurrent.Callable<byte[]>

public class FetchTask
extends java.lang.Object
implements java.util.concurrent.Callable<byte[]>

Encapsulates a checkpoint fetching operation.


Constructor Summary
FetchTask(StateStorage stateStorage, CheckpointId checkpointId)
           
 
Method Summary
 byte[] call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchTask

public FetchTask(StateStorage stateStorage,
                 CheckpointId checkpointId)
Method Detail

call

public byte[] call()
            throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<byte[]>
Throws:
java.lang.Exception