public class PropertiesFileAttributeStore extends Object implements AttributeStore, Serializable
Constructor and Description |
---|
PropertiesFileAttributeStore() |
PropertiesFileAttributeStore(String path) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
get(String key) |
String |
remove(String name) |
String |
set(String key,
String value) |
<T> T |
withProperties(PropertiesHandler<T> propertiesHandler) |
public PropertiesFileAttributeStore()
public PropertiesFileAttributeStore(String path)
public String get(String key) throws IOException
get
in interface AttributeStore
IOException
public String set(String key, String value) throws IOException
set
in interface AttributeStore
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public String remove(String name) throws IOException
remove
in interface AttributeStore
IOException
public <T> T withProperties(PropertiesHandler<T> propertiesHandler) throws IOException
IOException
Copyright © GigaSpaces.