com.hazelcast.config
Class SemaphoreConfig

java.lang.Object
  extended by com.hazelcast.config.SemaphoreConfig
All Implemented Interfaces:
DataSerializable, Serializable

public class SemaphoreConfig
extends Object
implements DataSerializable

See Also:
Serialized Form

Field Summary
static int DEFAULT_SIZE
           
 
Constructor Summary
SemaphoreConfig()
           
SemaphoreConfig(String name)
           
SemaphoreConfig(String name, int size)
           
 
Method Summary
 String getName()
           
 int getSize()
           
 void readData(DataInput in)
           
 SemaphoreConfig setName(String name)
           
 SemaphoreConfig setSize(int size)
           
 void writeData(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SIZE

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

SemaphoreConfig

public SemaphoreConfig()

SemaphoreConfig

public SemaphoreConfig(String name)

SemaphoreConfig

public SemaphoreConfig(String name,
                       int size)
Method Detail

writeData

public void writeData(DataOutput out)
               throws IOException
Specified by:
writeData in interface DataSerializable
Throws:
IOException

readData

public void readData(DataInput in)
              throws IOException
Specified by:
readData in interface DataSerializable
Throws:
IOException

getName

public String getName()

setName

public SemaphoreConfig setName(String name)

getSize

public int getSize()

setSize

public SemaphoreConfig setSize(int size)


Copyright .9.4-SNAPSHOT; 2008-2011 Hazel Ltd. All Rights Reserved.