Class JDBCStorageRecord<T>
java.lang.Object
org.opensaml.storage.StorageRecord<T>
org.opensaml.storage.MutableStorageRecord<T>
net.shibboleth.plugin.storage.jdbc.impl.JDBCStorageRecord<T>
- Type Parameters:
T- type of record
Storage record used by
JDBCStorageService.
This is notable in that it allows creation with a specified version (from
the database).-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLength of the context column.static final intLength of the key column. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opensaml.storage.MutableStorageRecord
incrementVersion, setExpiration, setValueMethods inherited from class org.opensaml.storage.StorageRecord
getExpiration, getValue, getValue, getVersion, isExpired, isValid, setValue, setVersion
-
Field Details
-
CONTEXT_SIZE
public static final int CONTEXT_SIZELength of the context column.- See Also:
-
KEY_SIZE
public static final int KEY_SIZELength of the key column.- See Also:
-
-
Constructor Details
-
JDBCStorageRecord
Constructor.- Parameters:
val- The value to storeexp- The expirationversion- The version.
-