Class GridRestCacheRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.request.GridRestRequest
-
- org.apache.ignite.internal.processors.rest.request.GridRestCacheRequest
-
public class GridRestCacheRequest extends GridRestRequest
Cache command request descriptor.
-
-
Constructor Summary
Constructors Constructor Description GridRestCacheRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcacheFlags()voidcacheFlags(int cacheFlags)StringcacheName()voidcacheName(String cacheName)CacheConfigurationOverrideconfiguration()voidconfiguration(CacheConfigurationOverride cfg)Objectkey()voidkey(Object key)StringtemplateName()voidtemplateName(String templateName)StringtoString()Longttl()voidttl(Long ttl)Objectvalue()voidvalue(Object val)Objectvalue2()voidvalue2(Object val2)Map<Object,Object>values()voidvalues(Map<Object,Object> vals)-
Methods inherited from class org.apache.ignite.internal.processors.rest.request.GridRestRequest
address, address, certificates, certificates, clientId, clientId, command, command, credentials, credentials, destinationId, destinationId, sessionToken, sessionToken, userAttributes, userAttributes
-
-
-
-
Method Detail
-
cacheName
public String cacheName()
- Returns:
- Cache name, or
nullif not set.
-
cacheName
public void cacheName(String cacheName)
- Parameters:
cacheName- Cache name.
-
templateName
public String templateName()
- Returns:
- Template name, or
nullif not set.
-
templateName
public void templateName(String templateName)
- Parameters:
templateName- Template name.
-
key
public Object key()
- Returns:
- Key.
-
key
public void key(Object key)
- Parameters:
key- Key.
-
value
public Object value()
- Returns:
- Value 1.
-
value
public void value(Object val)
- Parameters:
val- Value 1.
-
value2
public Object value2()
- Returns:
- Value 2.
-
value2
public void value2(Object val2)
- Parameters:
val2- Value 2.
-
values
public Map<Object,Object> values()
- Returns:
- Keys and values for put all, get all, remove all operations.
-
values
public void values(Map<Object,Object> vals)
- Parameters:
vals- Keys and values for put all, get all, remove all operations.
-
configuration
public CacheConfigurationOverride configuration()
- Returns:
- Cache configuration.
-
configuration
public void configuration(CacheConfigurationOverride cfg)
- Parameters:
cfg- Cache configuration.
-
cacheFlags
public void cacheFlags(int cacheFlags)
- Parameters:
cacheFlags- Bit representation of cache flags.
-
cacheFlags
public int cacheFlags()
- Returns:
- Bit representation of cache flags.
-
ttl
public Long ttl()
- Returns:
- Expiration time.
-
ttl
public void ttl(Long ttl)
- Parameters:
ttl- Expiration time.
-
toString
public String toString()
- Overrides:
toStringin classGridRestRequest
-
-