# Uses of Class
org.opensaml.storage.VersionMismatchException

Packages that use VersionMismatchException
Package
Description
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`.
org.opensaml.storage.testing

## Uses of VersionMismatchException in org.opensaml.storage

Methods in org.opensaml.storage that throw VersionMismatchException
Modifier and Type
Method
Description
`protected boolean`
AbstractMapBackedStorageService.`deleteImpl(Long version, String context, String key)`
Internal method to implement delete functions.
`boolean`
AbstractMapBackedStorageService.`deleteWithVersion(long version, String context, String key)`
Deletes an existing record from the store if it currently has a specified version.
`boolean`
AbstractStorageService.`deleteWithVersion(long version, Object value)`
Deletes an existing record from the store, using an annotated object as the source, if it currently has a specified version.
`boolean`
StorageService.`deleteWithVersion(long version, Object value)`
Deletes an existing record from the store, using an annotated object as the source, if it currently has a specified version.
`boolean`
StorageService.`deleteWithVersion(long version, String context, String key)`
Deletes an existing record from the store if it currently has a specified version.
`protected Long`
AbstractMapBackedStorageService.`updateImpl(Long version, String context, String key, String value, Long expiration)`
Internal method to implement update functions.
`Long`
AbstractMapBackedStorageService.`updateWithVersion(long version, String context, String key, String value, Long expiration)`
Updates an existing record in the store, if a version matches.
`Long`
AbstractStorageService.`updateWithVersion(long version, Object value)`
Updates an existing record in the store, if a version matches, using an annotated object as the source.
`<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.
`Long`
StorageService.`updateWithVersion(long version, Object value)`
Updates an existing record in the store, if a version matches, using an annotated object as the source.
`Long`
StorageService.`updateWithVersion(long version, String context, String key, String value, Long expiration)`
Updates an existing record in the store, if a version matches.
`<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 VersionMismatchException in org.opensaml.storage.impl.memcached

Methods in org.opensaml.storage.impl.memcached that throw VersionMismatchException
Modifier and Type
Method
Description
`boolean`
MemcachedStorageService.`deleteWithVersion(long version, Object value)`
Deletes an existing record from the store, using an annotated object as the source, if it currently has a specified version.
`boolean`
MemcachedStorageService.`deleteWithVersion(long version, String context, String key)`
Deletes an existing record from the store if it currently has a specified version.
`Long`
MemcachedStorageService.`updateWithVersion(long version, Object value)`
Updates an existing record in the store, if a version matches, using an annotated object as the source.
`Long`
MemcachedStorageService.`updateWithVersion(long version, String context, String key, String value, Long expiration)`
Updates an existing record in the store, if a version matches.
`<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.

## Uses of VersionMismatchException in org.opensaml.storage.testing

Methods in org.opensaml.storage.testing that throw VersionMismatchException
Modifier and Type
Method
Description
`void`
StorageServiceTest.`versions()`
Test of versions > 127.