Skip to content

Commit

Permalink
Remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matko Medenjak committed Mar 22, 2018
1 parent be00633 commit 6e84405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ public CachePartitionSegment getSegment(int partitionId) {
return segments[partitionId];
}


protected void destroySegments(CacheConfig cacheConfig) {
String name = cacheConfig.getNameWithPrefix();
for (CachePartitionSegment segment : segments) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ private InvocationUtil() {

/**
* Invoke operation on all cluster members.
* <p>
*
* The invocation is serial: It iterates over all members starting from the oldest member to the youngest one.
* If there is a cluster membership change while invoking then it will restart invocations on all members. This
* implies the operation should be idempotent.
* <p>
*
* If there is an exception - other than {@link com.hazelcast.core.MemberLeftException} or
* {@link com.hazelcast.spi.exception.TargetNotMemberException} while invoking then the iteration
* is interrupted and the exception is propagated to the caller.
Expand Down Expand Up @@ -156,7 +156,7 @@ private static class InvokeOnMemberFunction implements IFunction<Member, IComple
private volatile int lastRetryCount;

InvokeOnMemberFunction(Supplier<Operation> operationSupplier, NodeEngine nodeEngine,
RestartingMemberIterator memberIterator) {
RestartingMemberIterator memberIterator) {
this.operationSupplier = operationSupplier;
this.nodeEngine = nodeEngine;
this.memberIterator = memberIterator;
Expand Down

0 comments on commit 6e84405

Please sign in to comment.