APISonar


com.hazelcast.internal.partition.ReplicaErrorLogger.log

> com > hazelcast > internal > partition > ReplicaErrorLogger > log
com APIs hazelcast APIs internal APIs partition APIs ReplicaErrorLogger APIs log APIs

Example 1
public void logError(Throwable e) {
        if (backupOp != null) {
            // Ensure that backup operation is initialized.
            // If there is an exception before `run` (for example caller is not valid anymore),
            // backup operation will not be initialized.
            ensureBackupOperationInitialized();
            backupOp.logError(e);
        } else {
            ReplicaErrorLogger.log(e, getLogger());
        }
    }