Skip to content

Commit

Permalink
Move Snapshottable interface to snapshot package
Browse files Browse the repository at this point in the history
  • Loading branch information
kuujo committed Jul 3, 2017
1 parent 740be32 commit dfec185
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Expand Up @@ -18,6 +18,7 @@
import io.atomix.protocols.raft.session.RaftSession;
import io.atomix.protocols.raft.session.RaftSessionListener;
import io.atomix.protocols.raft.session.RaftSessions;
import io.atomix.protocols.raft.storage.snapshot.Snapshottable;

/**
* Base class for user-provided Raft state machines.
Expand Down
Expand Up @@ -24,7 +24,7 @@
/**
* Manages reading and writing a single snapshot file.
* <p>
* User-provided state machines which implement the {@link io.atomix.protocols.raft.Snapshottable} interface
* User-provided state machines which implement the {@link Snapshottable} interface
* transparently write snapshots to and read snapshots from files on disk. Each time a snapshot is taken of
* the state machine state, the snapshot will be written to a single file represented by this interface.
* Snapshots are backed by a {@link io.atomix.storage.buffer.Buffer} dictated by the parent
Expand Down
Expand Up @@ -13,8 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License
*/
package io.atomix.protocols.raft;
package io.atomix.protocols.raft.storage.snapshot;

import io.atomix.protocols.raft.RaftStateMachine;
import io.atomix.protocols.raft.storage.log.RaftLog;
import io.atomix.protocols.raft.storage.snapshot.SnapshotReader;
import io.atomix.protocols.raft.storage.snapshot.SnapshotWriter;
Expand Down

0 comments on commit dfec185

Please sign in to comment.