Class OBackupDBLogger
java.lang.Object
com.orientechnologies.agent.services.backup.log.OBackupDBLogger
- All Implemented Interfaces:
OBackupLogger
Created by Enrico Risa on 30/03/16.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByUUIDAndTimestamp(String uuid, Long timestamp) voiddeleteByUUIDAndUnitId(String uuid, Long unitId) voiddeleteByUUIDAndUnitIdAndTx(String uuid, Long unitId, Long txId) 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) <T> Tlog(OBackupLog log) longnextOpId()voidupdateLog(OBackupLog log)
-
Field Details
-
CLASS_NAME
- See Also:
-
-
Constructor Details
-
OBackupDBLogger
-
-
Method Details
-
log
- Specified by:
login interfaceOBackupLogger
-
nextOpId
public long nextOpId()- Specified by:
nextOpIdin interfaceOBackupLogger
-
findLast
- Specified by:
findLastin interfaceOBackupLogger- Throws:
IOException
-
getLogs
-
findLast
- Specified by:
findLastin interfaceOBackupLogger- Throws:
IOException
-
findByUUID
public List<OBackupLog> findByUUID(String uuid, int page, int pageSize, Map<String, String> params) throws IOException- Specified by:
findByUUIDin interfaceOBackupLogger- Throws:
IOException
-
findByUUIDAndUnitId
public List<OBackupLog> findByUUIDAndUnitId(String uuid, Long unitId, int page, int pageSize, Map<String, String> params) throws IOException- Specified by:
findByUUIDAndUnitIdin interfaceOBackupLogger- Throws:
IOException
-
deleteByUUIDAndTimestamp
- Specified by:
deleteByUUIDAndTimestampin interfaceOBackupLogger- Throws:
IOException
-
deleteByUUIDAndUnitId
- Throws:
IOException
-
deleteByUUIDAndUnitIdAndTx
- Specified by:
deleteByUUIDAndUnitIdAndTxin interfaceOBackupLogger- Throws:
IOException
-
findAllLatestByUUID
- Specified by:
findAllLatestByUUIDin interfaceOBackupLogger- Throws:
IOException
-
deleteLog
- Specified by:
deleteLogin interfaceOBackupLogger
-
updateLog
- Specified by:
updateLogin interfaceOBackupLogger
-
getServer
- Specified by:
getServerin interfaceOBackupLogger
-
getDatabase
-