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 AttributeStoreIOExceptionpublic String set(String key, String value) throws IOException
set in interface AttributeStoreIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String remove(String name) throws IOException
remove in interface AttributeStoreIOExceptionpublic <T> T withProperties(PropertiesHandler<T> propertiesHandler) throws IOException
IOExceptionCopyright © GigaSpaces.