Class LoomBatch.MapOps

java.lang.Object
com.loomcache.client.LoomBatch.MapOps
Enclosing class:
LoomBatch

public static final class LoomBatch.MapOps extends Object
Fluent builder for map operations within a batch.
Since:
1.3
  • Method Details

    • put

      public LoomBatch put(String key, byte[] value)
      Put a key-value pair into the map. Key and value use the same client serializer framing as LoomMap.
    • put

      public LoomBatch put(String key, String value)
      Put a string key-value pair into the map (UTF-8 encoded).
    • delete

      public LoomBatch delete(String key)
      Delete a key from the map.
    • putIfAbsent

      public LoomBatch putIfAbsent(String key, byte[] value)
      Put a key only if absent. Key and value use the same client serializer framing as LoomMap.
    • putIfAbsent

      public LoomBatch putIfAbsent(String key, String value)
      Put a string value only if absent.