water
Class DKV

java.lang.Object
  extended by water.DKV

public abstract class DKV
extends java.lang.Object

Distributed Key/Value Store This class handles the distribution pattern.


Constructor Summary
DKV()
           
 
Method Summary
static java.lang.String calcConvertedFrameKeyString(java.lang.String valueArrayKeyString)
          Return the calculated name of a Frame Key given a ValueArray Key.
static Value DputIfMatch(Key key, Value val, Value old, Futures fs)
           
static Value DputIfMatch(Key key, Value val, Value old, Futures fs, boolean dontCache)
           
static Value get(Key key)
           
static Value get(Key key, int len, int priority)
           
static boolean isConvertedFrameKeyString(java.lang.String s)
          Return true if a string is a calculated Frame Key string; false otherwise.
static Value put(Key key, Iced v)
           
static Value put(Key key, Iced v, Futures fs)
           
static Value put(Key key, Iced v, Futures fs, boolean donCache)
           
static Value put(Key key, Value val)
           
static Value put(Key key, Value val, Futures fs)
           
static Value put(Key key, Value val, Futures fs, boolean dontCache)
           
static Value remove(Key key)
           
static Value remove(Key key, Futures fs)
           
static java.lang.String unconvertFrameKeyString(java.lang.String s)
           
static void write_barrier()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DKV

public DKV()
Method Detail

put

public static Value put(Key key,
                        Value val)

put

public static Value put(Key key,
                        Value val,
                        Futures fs)

put

public static Value put(Key key,
                        Value val,
                        Futures fs,
                        boolean dontCache)

put

public static Value put(Key key,
                        Iced v)

put

public static Value put(Key key,
                        Iced v,
                        Futures fs)

put

public static Value put(Key key,
                        Iced v,
                        Futures fs,
                        boolean donCache)

remove

public static Value remove(Key key)

remove

public static Value remove(Key key,
                           Futures fs)

DputIfMatch

public static Value DputIfMatch(Key key,
                                Value val,
                                Value old,
                                Futures fs)

DputIfMatch

public static Value DputIfMatch(Key key,
                                Value val,
                                Value old,
                                Futures fs,
                                boolean dontCache)

write_barrier

public static void write_barrier()

get

public static Value get(Key key,
                        int len,
                        int priority)

get

public static Value get(Key key)

calcConvertedFrameKeyString

public static java.lang.String calcConvertedFrameKeyString(java.lang.String valueArrayKeyString)
Return the calculated name of a Frame Key given a ValueArray Key.


unconvertFrameKeyString

public static java.lang.String unconvertFrameKeyString(java.lang.String s)

isConvertedFrameKeyString

public static boolean isConvertedFrameKeyString(java.lang.String s)
Return true if a string is a calculated Frame Key string; false otherwise.