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

class JDBCStorageRecord<T> extends MutableStorageRecord<T>
Storage record used by JDBCStorageService. This is notable in that it allows creation with a specified version (from the database).
  • Field Details

    • CONTEXT_SIZE

      public static final int CONTEXT_SIZE
      Length of the context column.
      See Also:
    • KEY_SIZE

      public static final int KEY_SIZE
      Length of the key column.
      See Also:
  • Constructor Details

    • JDBCStorageRecord

      public JDBCStorageRecord(@Nonnull @NotEmpty String val, @Nullable Long exp, @Nullable Long version)
      Constructor.
      Parameters:
      val - The value to store
      exp - The expiration
      version - The version.