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
SemaphoreConfig
public SemaphoreConfig()
SemaphoreConfig
public SemaphoreConfig(String name)
SemaphoreConfig
public SemaphoreConfig(String name,
int initialPermits)
SemaphoreConfig
public SemaphoreConfig(String name,
SemaphoreConfig sc)
readData
public void readData(DataInput in)
throws IOException
- Specified by:
readData
in interface DataSerializable
- Throws:
IOException
writeData
public void writeData(DataOutput out)
throws IOException
- Specified by:
writeData
in interface DataSerializable
- Throws:
IOException
getName
public String getName()
getFactoryClassName
public String getFactoryClassName()
setFactoryClassName
public SemaphoreConfig setFactoryClassName(String factoryClassName)
isFactoryEnabled
public boolean isFactoryEnabled()
setFactoryEnabled
public SemaphoreConfig setFactoryEnabled(boolean factoryEnabled)
getFactoryImplementation
public SemaphoreFactory getFactoryImplementation()
setFactoryImplementation
public SemaphoreConfig setFactoryImplementation(SemaphoreFactory factoryImplementation)
getInitialPermits
public int getInitialPermits()
setInitialPermits
public SemaphoreConfig setInitialPermits(int initialPermits)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.