public class LocalState extends Object
Constructor and Description |
---|
LocalState(String backingDir) |
public LocalState(String backingDir) throws IOException
IOException
public Map<Object,Object> snapshot() throws IOException
IOException
public Object get(Object key) throws IOException
IOException
public void put(Object key, Object val) throws IOException
IOException
public void put(Object key, Object val, boolean cleanup) throws IOException
IOException
public void remove(Object key) throws IOException
IOException
public void remove(Object key, boolean cleanup) throws IOException
IOException
public void cleanup(int keepVersions) throws IOException
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.