public class StorageLogServiceImpl extends Object implements StorageLogService
| Modifier and Type | Field and Description |
|---|---|
static String |
STORAGE_LOG_DIR |
| Constructor and Description |
|---|
StorageLogServiceImpl(List<Integer> tenants,
Path basePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Integer tenant,
StorageLogbookParameters parameters)
Add a storage log entry.
|
void |
close() |
List<LogInformation> |
rotateLogFile(Integer tenant)
Rotate log file, and return previous log information
|
public static final String STORAGE_LOG_DIR
public StorageLogServiceImpl(List<Integer> tenants, Path basePath) throws IOException
IOExceptionpublic void append(Integer tenant, StorageLogbookParameters parameters) throws IOException
StorageLogServiceappend in interface StorageLogServiceparameters - the entry parametersIOException - if an error is encounteredpublic List<LogInformation> rotateLogFile(Integer tenant) throws IOException
StorageLogServicerotateLogFile in interface StorageLogServiceIOExceptionpublic void close()
close in interface VitamAutoCloseableclose in interface AutoCloseableCopyright © 2018 Vitam. All rights reserved.