|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.distcache.MnodeValue
com.caucho.server.distcache.MnodeUpdate
com.caucho.distcache.cluster.TriadCacheCompareAndPut
public class TriadCacheCompareAndPut
Updates data for a cache
| Constructor Summary | |
|---|---|
protected |
TriadCacheCompareAndPut()
Hessian zero-arg constructor |
|
TriadCacheCompareAndPut(MnodeUpdate mnodeUpdate,
byte[] testHash,
long leaseTimeout,
int leaseOwner,
StreamSource data,
boolean isResend)
Create a new CachePut message |
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Returns the source stream. |
int |
getLeaseOwner()
Returns the lease owner |
long |
getLeaseTimeout()
Returns the lease timeout |
StreamSource |
getStreamSource()
Returns the stream source |
byte[] |
getTestHash()
Returns the key hash |
boolean |
isResend()
returns true if this is a resend message. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.server.distcache.MnodeUpdate |
|---|
getKeyHash |
| Methods inherited from class com.caucho.server.distcache.MnodeValue |
|---|
getAccessedExpireTimeout, getCacheHash, getFlags, getModifiedExpireTimeout, getUserFlags, getValueHash, getValueLength, getVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected TriadCacheCompareAndPut()
public TriadCacheCompareAndPut(MnodeUpdate mnodeUpdate,
byte[] testHash,
long leaseTimeout,
int leaseOwner,
StreamSource data,
boolean isResend)
| Method Detail |
|---|
public byte[] getTestHash()
public long getLeaseTimeout()
public int getLeaseOwner()
public StreamSource getStreamSource()
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic boolean isResend()
public java.lang.String toString()
toString in class MnodeUpdate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||