|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.cache.CacheAssignRequest
A request to the cache
to
assign an identity
and/or
cacheable
to some
pins
.
Field Summary | |
---|---|
int |
cacheType
The type of cache. |
int |
requestId
The requesting stage, a constant from StageId . |
Constructor Summary | |
---|---|
CacheAssignRequest(CacheablePinned[] handles,
CacheableIdentity[] identifiers,
Cacheable[] cacheables,
SecureHash uniqueId,
int requestId)
Creates a request to unpin several handles. |
|
CacheAssignRequest(CacheablePinned handle,
CacheableIdentity identifier,
Cacheable cacheable,
SecureHash uniqueId,
int requestId)
Creates a request to assign a single handle. |
Method Summary | |
---|---|
Cacheable[] |
getCacheables()
Returns the array of cacheables
to assign. |
CacheablePinned[] |
getHandles()
Returns the array of handles
to be assigned. |
CacheableIdentity[] |
getIdentifiers()
Returns the array of identifiers
to assign. |
SecureHash |
getUniqueId()
Returns the unique identifier for the CacheAssignRequest |
String |
toString()
Returns a human-readable representation of this CacheAssignRequest . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int requestId
StageId
.
public int cacheType
Constructor Detail |
public CacheAssignRequest(CacheablePinned handle, CacheableIdentity identifier, Cacheable cacheable, SecureHash uniqueId, int requestId)
public CacheAssignRequest(CacheablePinned[] handles, CacheableIdentity[] identifiers, Cacheable[] cacheables, SecureHash uniqueId, int requestId)
Method Detail |
public CacheablePinned[] getHandles()
handles
to be assigned.
public CacheableIdentity[] getIdentifiers()
identifiers
to assign.
public Cacheable[] getCacheables()
cacheables
to assign.
public SecureHash getUniqueId()
CacheAssignRequest
public String toString()
CacheAssignRequest
.
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |