Package org.infinispan.metadata.impl
Class InternalMetadataImpl
java.lang.Object
org.infinispan.metadata.impl.InternalMetadataImpl
- All Implemented Interfaces:
InternalMetadata,Metadata
Deprecated.
- Since:
- 6.0
- Author:
- Mircea Markus
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.infinispan.metadata.Metadata
Metadata.Builder -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated.Deprecated.InternalMetadataImpl(Metadata actual, long created, long lastUsed) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionactual()Deprecated.builder()Deprecated.Returns an instance ofMetadata.Builderwhich can be used to build new instances ofMetadatainstance which are full copies of thisMetadata.longcreated()Deprecated.booleanDeprecated.longDeprecated.static MetadataextractMetadata(Metadata metadata) Deprecated.inthashCode()Deprecated.booleanisExpired(long now) Deprecated.longlastUsed()Deprecated.longlifespan()Deprecated.Returns the lifespan of the cache entry with which this metadata object is associated, in milliseconds.longmaxIdle()Deprecated.Returns the the maximum amount of time that the cache entry associated with this metadata object is allowed to be idle for before it is considered as expired, in milliseconds.toString()Deprecated.version()Deprecated.Returns the version of the cache entry with which this metadata object is associated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.metadata.Metadata
updateCreationTimestamp
-
Constructor Details
-
InternalMetadataImpl
public InternalMetadataImpl()Deprecated. -
InternalMetadataImpl
Deprecated. -
InternalMetadataImpl
Deprecated. -
InternalMetadataImpl
Deprecated.
-
-
Method Details
-
lifespan
public long lifespan()Deprecated.Description copied from interface:MetadataReturns the lifespan of the cache entry with which this metadata object is associated, in milliseconds. Negative values are interpreted as unlimited lifespan. -
maxIdle
public long maxIdle()Deprecated.Description copied from interface:MetadataReturns the the maximum amount of time that the cache entry associated with this metadata object is allowed to be idle for before it is considered as expired, in milliseconds. -
version
Deprecated.Description copied from interface:MetadataReturns the version of the cache entry with which this metadata object is associated. -
builder
Deprecated.Description copied from interface:MetadataReturns an instance ofMetadata.Builderwhich can be used to build new instances ofMetadatainstance which are full copies of thisMetadata.- Specified by:
builderin interfaceMetadata- Returns:
- instance of
Metadata.Builder
-
created
public long created()Deprecated.- Specified by:
createdin interfaceInternalMetadata
-
lastUsed
public long lastUsed()Deprecated.- Specified by:
lastUsedin interfaceInternalMetadata
-
actual
Deprecated. -
expiryTime
public long expiryTime()Deprecated.- Specified by:
expiryTimein interfaceInternalMetadata
-
isExpired
public boolean isExpired(long now) Deprecated.- Specified by:
isExpiredin interfaceInternalMetadata
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
extractMetadata
Deprecated.
-