Class GridRestCacheRequest


  • public class GridRestCacheRequest
    extends GridRestRequest
    Cache command request descriptor.
    • Constructor Detail

      • GridRestCacheRequest

        public GridRestCacheRequest()
    • Method Detail

      • cacheName

        public String cacheName()
        Returns:
        Cache name, or null if not set.
      • cacheName

        public void cacheName​(String cacheName)
        Parameters:
        cacheName - Cache name.
      • templateName

        public String templateName()
        Returns:
        Template name, or null if 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.
      • 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.