X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2FReplicatedLogEntry.java;h=1bced2404dea9161ae64dc2f0cee0d37e0a2d677;hp=19796097364f3a2d321b11edb281834055f97a16;hb=a0b8be5ce48c0d1e0b573d1952211913c58d4935;hpb=7f2ecd54dd3eb09af469a610fdd541b48ed95b80 diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLogEntry.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLogEntry.java index 1979609736..1bced2404d 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLogEntry.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/ReplicatedLogEntry.java @@ -15,32 +15,26 @@ import org.opendaylight.controller.cluster.raft.protobuff.client.messages.Payloa */ public interface ReplicatedLogEntry { /** - * The data stored in that entry * - * @return + * @return The payload/data to be replicated */ Payload getData(); /** - * The term stored in that entry * - * @return + * @return The term of the entry */ long getTerm(); /** - * The index of the entry * - * @return + * @return The index of the entry */ long getIndex(); /** - * The size of the entry in bytes. * - * An approximate number may be good enough. - * - * @return + * @return The size of the entry in bytes. An approximate number may be good enough. */ int size(); }