Class BinaryConnectionFactoryCreator
java.lang.Object
org.exoplatform.services.cache.impl.memcached.BinaryConnectionFactoryCreator
- All Implemented Interfaces:
ConnectionFactoryCreator
The
ConnectionFactoryCreator that will create BinaryConnectionFactory instances- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe buffer sizeprotected StringThe algorithm to use for hashingprotected intThe length of the queue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.spy.memcached.ConnectionFactorycreate()Creates an instance of aConnectionFactory
-
Field Details
-
queueLength
protected int queueLengthThe length of the queue -
bufferSize
protected int bufferSizeThe buffer size -
hash
The algorithm to use for hashing
-
-
Constructor Details
-
BinaryConnectionFactoryCreator
public BinaryConnectionFactoryCreator()
-
-
Method Details
-
create
public net.spy.memcached.ConnectionFactory create()Creates an instance of aConnectionFactory- Specified by:
createin interfaceConnectionFactoryCreator- Returns:
- a new instance of a
ConnectionFactory
-