342aa45f9af40602d20b7e6be8754483772e22d2
[controller.git] /
1 /*
2  * Copyright (c) 2025 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.raft.spi;
9
10 import org.opendaylight.controller.cluster.raft.RaftActor;
11
12 /**
13  * A {@link RaftStorage} backing persistent mode of {@link RaftActor} operation.
14  */
15 public abstract non-sealed class EnabledRaftStorage extends RaftStorage {
16     @Override
17     public final boolean isRecoveryApplicable() {
18         return true;
19     }
20 }