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 aManagerStatusResponse
record class. -
Method Summary
Modifier and TypeMethodDescriptioncaches()
Returns the value of thecaches
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of therebalancingEnabled
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ManagerStatusResponse
Creates an instance of aManagerStatusResponse
record class.- Parameters:
caches
- the value for thecaches
record componentrebalancingEnabled
- the value for therebalancingEnabled
record 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 thecompare
method from their corresponding wrapper classes. -
caches
Returns the value of thecaches
record component.- Returns:
- the value of the
caches
record component
-
rebalancingEnabled
public boolean rebalancingEnabled()Returns the value of therebalancingEnabled
record component.- Returns:
- the value of the
rebalancingEnabled
record component
-