Record Class BucketEntry<T>
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.bucket.BucketEntry<T>
- Type Parameters:
T- The provider-native bucket/container representation type.- Record Components:
name- The logical bucket/container name.nativeEntry- The provider-native bucket/container representation.
-
Constructor Summary
ConstructorsConstructorDescriptionBucketEntry(@NonNull String name, @NonNull T nativeEntry) Creates an instance of aBucketEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NonNull Stringname()Returns the value of thenamerecord component.@NonNull TReturns the value of thenativeEntryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BucketEntry
Creates an instance of aBucketEntryrecord class.- Parameters:
name- the value for thenamerecord componentnativeEntry- the value for thenativeEntryrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
nativeEntry
Returns the value of thenativeEntryrecord component.- Returns:
- the value of the
nativeEntryrecord component
-