Interface OBackupLogger
- All Known Implementing Classes:
OBackupDBLogger
public interface OBackupLogger
Created by Enrico Risa on 25/03/16.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByUUIDAndTimestamp(String uuid, Long timestamp) voiddeleteByUUIDAndUnitIdAndTx(String uuid, Long unitId, Long tx) voiddeleteLog(OBackupLog scheduled) findAllLatestByUUID(String uuid, int page, int pageSize) findByUUID(String uuid, int page, int pageSize, Map<String, String> params) findLast(OBackupLogType op, String uuid) findLast(OBackupLogType op, String uuid, Long unitId) log(OBackupLog log) longnextOpId()voidupdateLog(OBackupLog log)
-
Method Details
-
log
-
nextOpId
long nextOpId() -
findLast
- Throws:
IOException
-
findLast
- Throws:
IOException
-
findByUUID
List<OBackupLog> findByUUID(String uuid, int page, int pageSize, Map<String, String> params) throws IOException- Throws:
IOException
-
findByUUIDAndUnitId
List<OBackupLog> findByUUIDAndUnitId(String uuid, Long unitId, int page, int pageSize, Map<String, String> params) throws IOException- Throws:
IOException
-
deleteByUUIDAndUnitIdAndTx
- Throws:
IOException
-
deleteByUUIDAndTimestamp
- Throws:
IOException
-
findAllLatestByUUID
- Throws:
IOException
-
deleteLog
-
updateLog
-
getServer
OEnterpriseServer getServer()
-