Record Class ManagerStatusResponse
java.lang.Object
java.lang.Record
org.infinispan.topology.ManagerStatusResponse
@Proto
@ProtoTypeId(1119)
public record ManagerStatusResponse(Map<String, CacheStatusResponse> caches, boolean rebalancingEnabled)
extends Record
- Since:
- 7.1
- Author:
- Dan Berindei
-
Constructor Summary
ConstructorsConstructorDescriptionManagerStatusResponse(Map<String, CacheStatusResponse> caches, boolean rebalancingEnabled) Creates an instance of aManagerStatusResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptioncaches()Returns the value of thecachesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of therebalancingEnabledrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManagerStatusResponse
Creates an instance of aManagerStatusResponserecord class.- Parameters:
caches- the value for thecachesrecord componentrebalancingEnabled- the value for therebalancingEnabledrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
caches
Returns the value of thecachesrecord component.- Returns:
- the value of the
cachesrecord component
-
rebalancingEnabled
public boolean rebalancingEnabled()Returns the value of therebalancingEnabledrecord component.- Returns:
- the value of the
rebalancingEnabledrecord component
-