com.hazelcast.concurrent.countdownlatch
Class CountDownLatchInfo

java.lang.Object
  extended by com.hazelcast.concurrent.countdownlatch.CountDownLatchInfo
All Implemented Interfaces:
DataSerializable

public class CountDownLatchInfo
extends Object
implements DataSerializable


Constructor Summary
CountDownLatchInfo()
           
CountDownLatchInfo(String name)
           
 
Method Summary
 int countDown()
           
 int getCount()
           
 String getName()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 boolean setCount(int count)
           
 void setCountDirect(int count)
           
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountDownLatchInfo

public CountDownLatchInfo()

CountDownLatchInfo

public CountDownLatchInfo(String name)
Method Detail

countDown

public int countDown()

getCount

public int getCount()

getName

public String getName()

setCount

public boolean setCount(int count)

setCountDirect

public void setCountDirect(int count)

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.