# Uses of Interface
org.opensaml.storage.StorageSerializer

Packages that use StorageSerializer
Package
Description
org.opensaml.saml.common.binding.artifact.impl
Implementation of SAML artifact mapping.
org.opensaml.storage
Interfaces and classes for storing state data of the type used in replay caches, conversation identifiers, etc.
org.opensaml.storage.impl.memcached
Implementation of memcached `StorageService`.

## Uses of StorageSerializer in org.opensaml.saml.common.binding.artifact.impl

Classes in org.opensaml.saml.common.binding.artifact.impl that implement StorageSerializer
Modifier and Type
Class
Description
`class`
`StorageServiceSAMLArtifactMapEntryFactory`
A factory and `StorageSerializer` for instances of `BasicSAMLArtifactMapEntry`.

## Uses of StorageSerializer in org.opensaml.storage

Methods in org.opensaml.storage with parameters of type StorageSerializer
Modifier and Type
Method
Description
`<T> boolean`
AbstractStorageService.`create(String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Creates a new record in the store with an expiration, using a custom serialization process for an arbitrary object.
`<T> boolean`
StorageService.`create(String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Creates a new record in the store with an expiration, using a custom serialization process for an arbitrary object.
`Type`
StorageRecord.`getValue(StorageSerializer<Type> serializer, String context, String key)`
Get the record value, using a custom deserialization process.
`protected void`
StorageRecord.`setValue(Type instance, StorageSerializer<Type> serializer)`
Set the record value, using a custom serialization process.
`<T> boolean`
AbstractStorageService.`update(String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Updates an existing record in the store using a custom serialization strategy.
`<T> boolean`
StorageService.`update(String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Updates an existing record in the store using a custom serialization strategy.
`<T> Long`
AbstractStorageService.`updateWithVersion(long version, String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Updates an existing record in the store, if a version matches, using a custom serialization strategy.
`<T> Long`
StorageService.`updateWithVersion(long version, String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Updates an existing record in the store, if a version matches, using a custom serialization strategy.

## Uses of StorageSerializer in org.opensaml.storage.impl.memcached

Methods in org.opensaml.storage.impl.memcached with parameters of type StorageSerializer
Modifier and Type
Method
Description
`<T> boolean`
MemcachedStorageService.`create(String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Creates a new record in the store with an expiration, using a custom serialization process for an arbitrary object.
`<T> boolean`
MemcachedStorageService.`update(String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Updates an existing record in the store using a custom serialization strategy.
`<T> Long`
MemcachedStorageService.`updateWithVersion(long version, String context, String key, T value, StorageSerializer<T> serializer, Long expiration)`
Updates an existing record in the store, if a version matches, using a custom serialization strategy.