Package app.ductape.sdk.cache
Record Class CacheManager.CacheOperationOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.cache.CacheManager.CacheOperationOptions
- Enclosing class:
- CacheManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncacheTag()Returns the value of thecacheTagrecord component.Returns the value of thecomponentTagrecord component.Returns the value of thecomponentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.expiryMs()Returns the value of theexpiryMsrecord component.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.Returns the value of theoperationrecord component.Returns the value of theprivateKeyrecord component.Returns the value of theproductTagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CacheOperationOptions
public CacheOperationOptions(String cacheTag, String productTag, String componentTag, String componentType, String operation, Object input, String privateKey, Long expiryMs) Creates an instance of aCacheOperationOptionsrecord class.- Parameters:
cacheTag- the value for thecacheTagrecord componentproductTag- the value for theproductTagrecord componentcomponentTag- the value for thecomponentTagrecord componentcomponentType- the value for thecomponentTyperecord componentoperation- the value for theoperationrecord componentinput- the value for theinputrecord componentprivateKey- the value for theprivateKeyrecord componentexpiryMs- the value for theexpiryMsrecord 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). -
cacheTag
Returns the value of thecacheTagrecord component.- Returns:
- the value of the
cacheTagrecord component
-
productTag
Returns the value of theproductTagrecord component.- Returns:
- the value of the
productTagrecord component
-
componentTag
Returns the value of thecomponentTagrecord component.- Returns:
- the value of the
componentTagrecord component
-
componentType
Returns the value of thecomponentTyperecord component.- Returns:
- the value of the
componentTyperecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
privateKey
Returns the value of theprivateKeyrecord component.- Returns:
- the value of the
privateKeyrecord component
-
expiryMs
Returns the value of theexpiryMsrecord component.- Returns:
- the value of the
expiryMsrecord component
-