@Override public int hashCode() { int result = name.hashCode(); result = 31 * result + assignmentMode.hashCode(); result = 31 * result + ((keySerializer != null) ? keySerializer.hashCode() : 0); result = 31 * result + ((valueSerializer != null) ? valueSerializer.hashCode() : 0); result = 31 * result + keySerializerConfigSnapshot.hashCode(); result = 31 * result + valueSerializerConfigSnapshot.hashCode(); return result; } }
@Override public int hashCode() { int result = getName().hashCode(); result = 31 * result + getStateType().hashCode(); result = 31 * result + getKeySerializer().hashCode(); result = 31 * result + getValueSerializer().hashCode(); result = 31 * result + getNamespaceSerializer().hashCode(); result = 31 * result + getKeySerializerConfigSnapshot().hashCode(); result = 31 * result + getValueSerializerConfigSnapshot().hashCode(); result = 31 * result + getNamespaceSerializerConfigSnapshot().hashCode(); return result; }
@Override public int hashCode() { // need to check for nulls because serializer and config snapshots may be null on restore int result = getName().hashCode(); result = 31 * result + getStateType().hashCode(); result = 31 * result + (getNamespaceSerializer() != null ? getNamespaceSerializer().hashCode() : 0); result = 31 * result + (getStateSerializer() != null ? getStateSerializer().hashCode() : 0); result = 31 * result + (getNamespaceSerializerConfigSnapshot() != null ? getNamespaceSerializerConfigSnapshot().hashCode() : 0); result = 31 * result + (getStateSerializerConfigSnapshot() != null ? getStateSerializerConfigSnapshot().hashCode() : 0); return result; } }
@Override public int hashCode() { // need to check for nulls because serializer and config snapshots may be null on restore int result = getName().hashCode(); result = 31 * result + getStateType().hashCode(); result = 31 * result + (getNamespaceSerializer() != null ? getNamespaceSerializer().hashCode() : 0); result = 31 * result + (getStateSerializer() != null ? getStateSerializer().hashCode() : 0); result = 31 * result + (getNamespaceSerializerConfigSnapshot() != null ? getNamespaceSerializerConfigSnapshot().hashCode() : 0); result = 31 * result + (getStateSerializerConfigSnapshot() != null ? getStateSerializerConfigSnapshot().hashCode() : 0); return result; } }
@Override public int hashCode() { // need to check for nulls because serializer and config snapshots may be null on restore int result = getName().hashCode(); result = 31 * result + getAssignmentMode().hashCode(); result = 31 * result + (getPartitionStateSerializer() != null ? getPartitionStateSerializer().hashCode() : 0); result = 31 * result + (getPartitionStateSerializerConfigSnapshot() != null ? getPartitionStateSerializerConfigSnapshot().hashCode() : 0); return result; } }
@Override public int hashCode() { // need to check for nulls because serializer and config snapshots may be null on restore int result = getName().hashCode(); result = 31 * result + getAssignmentMode().hashCode(); result = 31 * result + (getPartitionStateSerializer() != null ? getPartitionStateSerializer().hashCode() : 0); result = 31 * result + (getPartitionStateSerializerConfigSnapshot() != null ? getPartitionStateSerializerConfigSnapshot().hashCode() : 0); return result; } }