public Transcoder<Object> getDefaultCollectionTranscoder() { return new CollectionTranscoder(); }
/** * Create an Arcus client for the given memcached server addresses. * * @param cf connection factory to configure connections for this client * @param addrs socket addresses for the memcached servers * @throws IOException if connections cannot be established */ public ArcusClient(ConnectionFactory cf, List<InetSocketAddress> addrs) throws IOException { super(cf, addrs); bulkService = new BulkService(cf.getBulkServiceLoopLimit(), cf.getBulkServiceThreadCount(), cf.getBulkServiceSingleOpTimeout()); collectionTranscoder = new CollectionTranscoder(); smgetKeyChunkSize = cf.getDefaultMaxSMGetKeyChunkSize(); registerMbean(); }