public class CacheOperationContext extends Object implements Serializable
| Constructor and Description |
|---|
CacheOperationContext()
Constructor with default values.
|
CacheOperationContext(boolean skipStore,
UUID subjId,
boolean keepPortable,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean noRetries) |
| Modifier and Type | Method and Description |
|---|---|
javax.cache.expiry.ExpiryPolicy |
expiry() |
CacheOperationContext |
forSubjectId(UUID subjId)
|
boolean |
isKeepPortable() |
CacheOperationContext |
keepPortable()
|
boolean |
noRetries() |
CacheOperationContext |
setNoRetries(boolean noRetries) |
CacheOperationContext |
setSkipStore(boolean skipStore)
|
boolean |
skipStore() |
UUID |
subjectId()
Gets client ID for which this projection was created.
|
String |
toString() |
CacheOperationContext |
withExpiryPolicy(javax.cache.expiry.ExpiryPolicy plc)
|
public CacheOperationContext()
public CacheOperationContext(boolean skipStore,
@Nullable
UUID subjId,
boolean keepPortable,
@Nullable
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean noRetries)
skipStore - Skip store flag.subjId - Subject ID.keepPortable - Keep portable flag.expiryPlc - Expiry policy.public boolean isKeepPortable()
public CacheOperationContext keepPortable()
@Nullable public UUID subjectId()
public CacheOperationContext forSubjectId(UUID subjId)
subjId - Subject id.public boolean skipStore()
public CacheOperationContext setSkipStore(boolean skipStore)
skipStore - Skip store flag.@Nullable public javax.cache.expiry.ExpiryPolicy expiry()
ExpiryPolicy associated with this projection.public CacheOperationContext withExpiryPolicy(javax.cache.expiry.ExpiryPolicy plc)
plc - ExpiryPolicy to associate with this projection.public CacheOperationContext setNoRetries(boolean noRetries)
noRetries - No retries flag.public boolean noRetries()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015