public class SlotAssignmentResultImpl extends Object implements SlotAssignmentResult
Constructor and Description |
---|
SlotAssignmentResultImpl() |
Modifier and Type | Method and Description |
---|---|
long |
address() |
boolean |
isNew() |
void |
setAddress(long address)
Sets the current slot assignment address.
|
void |
setNew(boolean isNew)
Sets if the last assignment invocation resulted in a new assignment or
if there was an existing slot for the given parameters.
|
public long address()
address
in interface SlotAssignmentResult
public boolean isNew()
isNew
in interface SlotAssignmentResult
true
if a new slot had to be assigned in the last
assignment invocation, false
otherwise.public void setNew(boolean isNew)
public void setAddress(long address)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.