Class EmbeddedMetadataHelper
- java.lang.Object
-
- org.infinispan.persistence.rest.metadata.EmbeddedMetadataHelper
-
- All Implemented Interfaces:
MetadataHelper
public class EmbeddedMetadataHelper extends Object implements MetadataHelper
-
-
Constructor Summary
Constructors Constructor Description EmbeddedMetadataHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.metadata.MetadatabuildMetadata(String contentType, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)StringgetContentType(org.infinispan.persistence.spi.MarshallableEntry entry)
-
-
-
Method Detail
-
getContentType
public String getContentType(org.infinispan.persistence.spi.MarshallableEntry entry)
- Specified by:
getContentTypein interfaceMetadataHelper
-
buildMetadata
public org.infinispan.metadata.Metadata buildMetadata(String contentType, long lifespan, TimeUnit lifespanUnit, long maxIdle, TimeUnit maxIdleUnit)
- Specified by:
buildMetadatain interfaceMetadataHelper
-
-