|
|
|
|
|
|
t**r 发帖数: 3428 | 1 /**
* {@link LogEntry} storage service.
*
* Stores a sequence of {@code LogEntry} instances
* indexed by a {@code long >= 0} referred to as a "log index".
* Any two consecutive {@code LogEntry} instances satisfy
* the log property LP: {@code logIndex(LogEntry0) + 1 = logIndex(LogEntry1)
}.
* Implementations need only guarantee that each
* individual operation is atomic.
* They must wrap all
* implementation-specific checked exceptions in a {@link StorageException}
* and rethrow them.
*/ | T*****9 发帖数: 2484 | 2 要啊
lnkd都这么写
LogEntry1)
【在 t**r 的大作中提到】 : /** : * {@link LogEntry} storage service. : * : * Stores a sequence of {@code LogEntry} instances : * indexed by a {@code long >= 0} referred to as a "log index". : * Any two consecutive {@code LogEntry} instances satisfy : * the log property LP: {@code logIndex(LogEntry0) + 1 = logIndex(LogEntry1) : }. : * Implementations need only guarantee that each : * individual operation is atomic.
| f*******t 发帖数: 7549 | | c******f 发帖数: 243 | 4 public api都写,因为写的framework别人要用到
而且查javadoc方便 | g*********e 发帖数: 14401 | | x*******1 发帖数: 28835 | |
|
|
|
|
|