|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.memcached.MemcachedConnection
public class MemcachedConnection
Custom serialization for the cache
| Method Summary | |
|---|---|
java.lang.String |
getProtocolRequestURL()
Returns a request URL for debugging/management. |
boolean |
handleRequest()
Handles a new request. |
boolean |
handleResume()
Handles a resumption of the connection for an async/comet request. |
void |
init()
Initialize the connection. |
boolean |
isWaitForRead()
Return true if the connection should wait for a read before handling the request. |
void |
onCloseConnection()
Handles a close event when the connection is closed. |
void |
onStartConnection()
Called when the connection starts, i.e. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getProtocolRequestURL()
ProtocolConnection
getProtocolRequestURL in interface ProtocolConnectionpublic void init()
ProtocolConnection
init in interface ProtocolConnection
public boolean handleRequest()
throws java.io.IOException
ProtocolConnection
handleRequest in interface ProtocolConnectionjava.io.IOException
public boolean handleResume()
throws java.io.IOException
ProtocolConnection
handleResume in interface ProtocolConnectionjava.io.IOExceptionpublic boolean isWaitForRead()
ProtocolConnection
isWaitForRead in interface ProtocolConnectionpublic void onCloseConnection()
ProtocolConnection
onCloseConnection in interface ProtocolConnectionpublic void onStartConnection()
ProtocolConnection
onStartConnection in interface ProtocolConnectionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||