protected long index(Commit<Void> commit) { return commit.index(); }
protected long index(Commit<Void> commit) { return commit.index(); } }
protected long index(Commit<Void> commit) { return commit.index(); } }
protected long remove(Commit<String> commit) { map.remove(commit.value()); return commit.index(); }
protected long remove(Commit<String> commit) { map.remove(commit.value()); return commit.index(); }
protected long put(Commit<Map.Entry<String, String>> commit) { map.put(commit.value().getKey(), commit.value().getValue()); return commit.index(); }
protected long put(Commit<Map.Entry<String, String>> commit) { map.put(commit.value().getKey(), commit.value().getValue()); return commit.index(); }
@Override public boolean equals(Object object) { if (object instanceof Commit) { Commit commit = (Commit) object; return commit.index() == index && commit.session().equals(session) && commit.operation().equals(operation) && Objects.equals(commit.value(), value); } return false; }
protected long remove(Commit<ClusterMetaEntity> commit) { clusterMeta.remove(commit.value().getMetaType(), commit.value().getKey()); return commit.index(); }
protected long put(Commit<ClusterMetaEntity> commit) { clusterMeta.put(commit.value().getMetaType(), commit.value().getKey(), commit.value().getValues()); return commit.index(); }