Class DefaultBatchBackingStore<I,T>
- java.lang.Object
-
- net.shibboleth.oidc.metadata.impl.AbstractBackingStore<I,T>
-
- net.shibboleth.oidc.metadata.impl.DefaultBatchBackingStore<I,T>
-
- Type Parameters:
I- the metadata identifier type.T- the metadata type.
- All Implemented Interfaces:
BackingStore<I,T>,BatchBackingStore<I,T>
@ThreadSafe public class DefaultBatchBackingStore<I,T> extends AbstractBackingStore<I,T> implements BatchBackingStore<I,T>
Default implementation of aBatchBackingStore.
-
-
Field Summary
Fields Modifier and Type Field Description private InstantlastRefreshLast time a refresh cycle occurred.private InstantlastUpdateLast time the metadata was updated.private byte[]originalValueThe bytes of the original loaded metadata.
-
Constructor Summary
Constructors Constructor Description DefaultBatchBackingStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetLastRefresh()InstantgetLastUpdate()byte[]getOriginalValue()voidsetLastRefresh(Instant refreshedAt)voidsetLastUpdate(Instant updatedAt)voidsetOriginalValue(byte[] original)-
Methods inherited from class net.shibboleth.oidc.metadata.impl.AbstractBackingStore
getIndexedValues, getOrderedValues
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.oidc.metadata.BackingStore
getIndexedValues, getOrderedValues
-
-
-
-
Method Detail
-
getLastUpdate
@Nullable public Instant getLastUpdate()
- Specified by:
getLastUpdatein interfaceBatchBackingStore<I,T>
-
getLastRefresh
@Nullable public Instant getLastRefresh()
- Specified by:
getLastRefreshin interfaceBatchBackingStore<I,T>
-
setLastUpdate
public void setLastUpdate(@Nullable Instant updatedAt)- Specified by:
setLastUpdatein interfaceBatchBackingStore<I,T>
-
setLastRefresh
public void setLastRefresh(@Nullable Instant refreshedAt)- Specified by:
setLastRefreshin interfaceBatchBackingStore<I,T>
-
getOriginalValue
@Nullable public byte[] getOriginalValue()
- Specified by:
getOriginalValuein interfaceBatchBackingStore<I,T>
-
setOriginalValue
public void setOriginalValue(@Nullable byte[] original)- Specified by:
setOriginalValuein interfaceBatchBackingStore<I,T>
-
-