com.caucho.memcached
Class MemcachedProtocol

java.lang.Object
  extended by com.caucho.memcached.MemcachedProtocol
All Implemented Interfaces:
Protocol

public class MemcachedProtocol
extends java.lang.Object
implements Protocol

Custom serialization for the cache


Constructor Summary
MemcachedProtocol()
           
 
Method Summary
 ProtocolConnection createConnection(SocketLink link)
          Creates a new protocol connection.
 java.lang.String getProtocolName()
          Returns the protocol name.
 void init()
           
 void setMode(ResinCacheBuilder.Scope scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemcachedProtocol

public MemcachedProtocol()
Method Detail

setMode

public void setMode(ResinCacheBuilder.Scope scope)

init

@PostConstruct
public void init()

createConnection

public ProtocolConnection createConnection(SocketLink link)
Description copied from interface: Protocol
Creates a new protocol connection.

Specified by:
createConnection in interface Protocol

getProtocolName

public java.lang.String getProtocolName()
Description copied from interface: Protocol
Returns the protocol name.

Specified by:
getProtocolName in interface Protocol