Public Member Functions | |
| NodeLocator | createLocator (List< MemcachedNode > nodes) |
| MemcachedNode | createMemcachedNode (SocketAddress sa, SocketChannel c, int bufSize) |
| BlockingQueue< Operation > | createOperationQueue () |
| BlockingQueue< Operation > | createReadOperationQueue () |
| BlockingQueue< Operation > | createWriteOperationQueue () |
| OperationFactory | getOperationFactory () |
| long | getOperationTimeout () |
| boolean | isDaemon () |
Package Functions | |
| MemcachedConnection | createConnection (List< InetSocketAddress > addrs) throws IOException |
| MemcachedConnection createConnection | ( | List< InetSocketAddress > | addrs | ) | throws IOException [package] |
Create a MemcachedConnection for the given SocketAddresses.
| addrs | the addresses of the memcached servers |
| IOException | for problems initializing the memcached connections |
Implemented in DefaultConnectionFactory.
| NodeLocator createLocator | ( | List< MemcachedNode > | nodes | ) |
Create a NodeLocator instance for the given list of nodes.
Implemented in DefaultConnectionFactory, and KetamaConnectionFactory.
| MemcachedNode createMemcachedNode | ( | SocketAddress | sa, | |
| SocketChannel | c, | |||
| int | bufSize | |||
| ) |
Create a new memcached node.
Implemented in BinaryConnectionFactory, and DefaultConnectionFactory.
| BlockingQueue<Operation> createOperationQueue | ( | ) |
Create a BlockingQueue for operations for a connection.
Implemented in DefaultConnectionFactory.
| BlockingQueue<Operation> createReadOperationQueue | ( | ) |
Create a BlockingQueue for the operations currently expecting to read responses from memcached.
Implemented in DefaultConnectionFactory.
| BlockingQueue<Operation> createWriteOperationQueue | ( | ) |
Create a BlockingQueue for the operations currently expecting to write requests to memcached.
Implemented in DefaultConnectionFactory.
| OperationFactory getOperationFactory | ( | ) |
Get the operation factory for connections built by this connection factory.
Implemented in BinaryConnectionFactory, and DefaultConnectionFactory.
| long getOperationTimeout | ( | ) |
Get the operation timeout used by this connection.
Implemented in DefaultConnectionFactory.
| boolean isDaemon | ( | ) |
If true, the IO thread should be a daemon thread.
Implemented in DefaultConnectionFactory.
1.5.8