org.apache.hadoop.chukwa.datacollection.writer
Class ClientAck

java.lang.Object
  extended by org.apache.hadoop.chukwa.datacollection.writer.ClientAck

public class ClientAck
extends Object


Field Summary
static int KO
           
static int KO_LOCK
           
static int OK
           
 
Constructor Summary
ClientAck()
           
 
Method Summary
 Throwable getException()
           
 int getStatus()
           
 int getTimeOut()
           
 void releaseLock(int status, Throwable exception)
           
 void setException(Throwable exception)
           
 void setStatus(int status)
           
 void wait4Ack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final int OK
See Also:
Constant Field Values

KO

public static final int KO
See Also:
Constant Field Values

KO_LOCK

public static final int KO_LOCK
See Also:
Constant Field Values
Constructor Detail

ClientAck

public ClientAck()
Method Detail

getTimeOut

public int getTimeOut()

wait4Ack

public void wait4Ack()

releaseLock

public void releaseLock(int status,
                        Throwable exception)

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

getException

public Throwable getException()

setException

public void setException(Throwable exception)


Copyright © ${year} The Apache Software Foundation