public interface StorageLog extends VitamAutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
appendAccessLog(Integer tenant,
AccessLogParameters parameters)
Add a storage access operation log entry.
|
void |
appendWriteLog(Integer tenant,
StorageLogbookParameters parameters)
Add a storage write operation log entry.
|
String |
getFileName(boolean isWriteOperation) |
void |
initializeStorageLogs(Path basePath) |
List<LogInformation> |
rotateLogFile(Integer tenantId,
boolean isWriteOperation)
Rotate log file, and return previous log information
|
closevoid appendWriteLog(Integer tenant, StorageLogbookParameters parameters) throws IOException
parameters - the entry parametersIOException - if an error is encounteredvoid appendAccessLog(Integer tenant, AccessLogParameters parameters) throws IOException
parameters - the entry parametersIOException - if an error is encounteredList<LogInformation> rotateLogFile(Integer tenantId, boolean isWriteOperation) throws IOException
tenantId - tenant used for the rotationisWriteOperation - IOExceptionvoid initializeStorageLogs(Path basePath) throws IOException
IOExceptionString getFileName(boolean isWriteOperation)
Copyright © 2018 Vitam. All rights reserved.