public interface FileManager
Modifier and Type | Method and Description |
---|---|
@NotNull Record |
get(int id)
Returns record by the internal record id.
|
@NotNull Record |
get(@NotNull Request request)
Returns latest record matching request.
|
@NotNull Callback |
getCallback()
Get callback upon completion of request.
|
@NotNull String |
put(@NotNull Request request,
@NotNull Response response)
Puts record into database.
|
@NotNull @NotNull Callback getCallback()
@NotNull @NotNull String put(@NotNull @NotNull Request request, @NotNull @NotNull Response response) throws StorageException
request
- requestresponse
- ResponseStorageException
- throws StorageException@NotNull @NotNull Record get(int id) throws StorageException
id
- record idStorageException
- throws StorageException@NotNull @NotNull Record get(@NotNull @NotNull Request request) throws StorageException
request
- requestStorageException
- throws StorageExceptionCopyright © 2018. All rights reserved.