Class BinaryConnectionFactoryCreator
- java.lang.Object
-
- org.exoplatform.services.cache.impl.memcached.BinaryConnectionFactoryCreator
-
- All Implemented Interfaces:
ConnectionFactoryCreator
public class BinaryConnectionFactoryCreator extends Object implements ConnectionFactoryCreator
TheConnectionFactoryCreatorthat will createBinaryConnectionFactoryinstances- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Field Summary
Fields Modifier and Type Field Description protected intbufferSizeThe buffer sizeprotected StringhashThe algorithm to use for hashingprotected intqueueLengthThe length of the queue
-
Constructor Summary
Constructors Constructor Description BinaryConnectionFactoryCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.spy.memcached.ConnectionFactorycreate()Creates an instance of aConnectionFactory
-
-
-
Field Detail
-
queueLength
protected int queueLength
The length of the queue
-
bufferSize
protected int bufferSize
The buffer size
-
hash
protected String hash
The algorithm to use for hashing
-
-
Method Detail
-
create
public net.spy.memcached.ConnectionFactory create()
Creates an instance of aConnectionFactory- Specified by:
createin interfaceConnectionFactoryCreator- Returns:
- a new instance of a
ConnectionFactory
-
-