class DatabaseBackupListener extends StubTableEventsListener<ModelType> {

    @Override
    public void onUpdateSuccess(@NonNull ModelType oldT, @NonNull ModelType newT, @NonNull DatabaseOperationMetadata databaseOperationMetadata) {
        if (databaseOperationMetadata.getOperationFamilyType() != OperationFamilyType.Sync) {
            mDriveDatabaseManager.syncDatabase();
        }
    }

    public  DatabaseBackupListener(@NonNull DriveDatabaseManager driveDatabaseManager);

}