public class FilesystemStore extends java.lang.Object implements IDocumentStore
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
STORAGE_DIR |
Constructor and Description |
---|
FilesystemStore() |
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.String uid) |
boolean |
exists(java.lang.String uid) |
byte[] |
get(java.lang.String uid) |
int |
getPriority() |
void |
store(java.lang.String uid,
byte[] content) |
public void store(java.lang.String uid, byte[] content) throws ServerFault
store
in interface IDocumentStore
ServerFault
public byte[] get(java.lang.String uid) throws ServerFault
get
in interface IDocumentStore
ServerFault
public void delete(java.lang.String uid) throws ServerFault
delete
in interface IDocumentStore
ServerFault
public boolean exists(java.lang.String uid) throws ServerFault
exists
in interface IDocumentStore
ServerFault
public int getPriority()
getPriority
in interface IDocumentStore
Copyright © 2021. All Rights Reserved.