com.hazelcast.config
Class SemaphoreConfig
java.lang.Object
com.hazelcast.config.SemaphoreConfig
- All Implemented Interfaces:
- DataSerializable, Serializable
public class SemaphoreConfig
- extends Object
- implements DataSerializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIZE
public static final int DEFAULT_SIZE
- See Also:
- Constant Field Values
SemaphoreConfig
public SemaphoreConfig()
SemaphoreConfig
public SemaphoreConfig(String name)
SemaphoreConfig
public SemaphoreConfig(String name,
int size)
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.