Package org.graylog2.datatiering
Record Class WarmIndexInfo
java.lang.Object
java.lang.Record
org.graylog2.datatiering.WarmIndexInfo
-
Constructor Summary
ConstructorsConstructorDescriptionWarmIndexInfo(String currentIndexName, String initialIndexName, String repository, String snapshotName) Creates an instance of aWarmIndexInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecurrentIndexNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinitialIndexNamerecord component.Returns the value of therepositoryrecord component.Returns the value of thesnapshotNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WarmIndexInfo
public WarmIndexInfo(String currentIndexName, String initialIndexName, String repository, String snapshotName) Creates an instance of aWarmIndexInforecord class.- Parameters:
currentIndexName- the value for thecurrentIndexNamerecord componentinitialIndexName- the value for theinitialIndexNamerecord componentrepository- the value for therepositoryrecord componentsnapshotName- the value for thesnapshotNamerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
currentIndexName
Returns the value of thecurrentIndexNamerecord component.- Returns:
- the value of the
currentIndexNamerecord component
-
initialIndexName
Returns the value of theinitialIndexNamerecord component.- Returns:
- the value of the
initialIndexNamerecord component
-
repository
Returns the value of therepositoryrecord component.- Returns:
- the value of the
repositoryrecord component
-
snapshotName
Returns the value of thesnapshotNamerecord component.- Returns:
- the value of the
snapshotNamerecord component
-