[java-opensaml COMMIT] in /trunk: opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractMapBackedStorageSer...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Sep 29 16:10:35 EDT 2014
Author: scantor
Date: Mon Sep 29 16:10:35 2014
New Revision: 4091
URL: http://svn.shibboleth.net/view/java-opensaml?rev=4091&view=rev
Log:
Annotation cleanup.
Modified:
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractMapBackedStorageService.java
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractStorageService.java
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/MutableStorageRecord.java
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/ReplayCache.java
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageCapabilities.java
trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/StorageService.java
trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/JPAStorageService.java
trunk/opensaml-storage-impl/src/main/java/org/opensaml/storage/impl/LDAPStorageService.java
Modified: trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractMapBackedStorageService.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractMapBackedStorageService.java?rev=4091&r1=4090&r2=4091&view=diff
==============================================================================
--- trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractMapBackedStorageService.java (original)
+++ trunk/opensaml-storage-api/src/main/java/org/opensaml/storage/AbstractMapBackedStorageService.java Mon Sep 29 16:10:35 2014
@@ -60,6 +60,7 @@
}
/** {@inheritDoc} */
+ @Override
public boolean create(@Nonnull @NotEmpty final String context, @Nonnull @NotEmpty final String key,
@Nonnull @NotEmpty final String value, @Nullable final Long expiration) throws IOException {
final Lock writeLock = getLock().writeLock();
@@ -100,19 +101,22 @@
}
/** {@inheritDoc} */
+ @Override
@Nullable public StorageRecord read(@Nonnull @NotEmpty final String context,
@Nonnull @NotEmpty final String key) throws IOException {
return readImpl(context, key, null).getSecond();
}
/** {@inheritDoc} */
+ @Override
@Nonnull public Pair<Long, StorageRecord> read(@Nonnull @NotEmpty final String context,
@Nonnull @NotEmpty final String key, final long version) throws IOException {
return readImpl(context, key, version);
}
/** {@inheritDoc} */
- @Nullable public boolean update(@Nonnull @NotEmpty final String context, @Nonnull @NotEmpty final String key,
+ @Override
+ public boolean update(@Nonnull @NotEmpty final String context, @Nonnull @NotEmpty final String key,
@Nonnull @NotEmpty final String value, @Nullable final Long expiration) throws IOException {
try {
return updateImpl(null, context, key, value, expiration) != null;
@@ -122,6 +126,7 @@
}
/** {@inheritDoc} */
+ @Override
@Nullable public Long updateWithVersion(final long version, @Nonnull @NotEmpty final String context,
@Nonnull @NotEmpty final String key, @Nonnull @NotEmpty final String value, @Nullable final Long expiration)
throws IOException, VersionMismatchException {
@@ -129,8 +134,9 @@
}
/** {@inheritDoc} */
- @Nullable public boolean updateExpiration(@Nonnull @NotEmpty final String context,
- @Nonnull @NotEmpty final String key, @Nullable final Long expiration) throws IOException {
+ @Override
+ public boolean updateExpiration(@Nonnull @NotEmpty final String context, @Nonnull @NotEmpty final String key,
+ @Nullable final Long expiration) throws IOException {
try {
return updateImpl(null, context, key, null, expiration) != null;
} catch (VersionMismatchException e) {
@@ -139,12 +145,14 @@
}
/** {@inheritDoc} */
+ @Override
public boolean deleteWithVersion(long version, String context, String key) throws IOException,
VersionMismatchException {
return deleteImpl(version, context, key);
}
/** {@inheritDoc} */
+ @Override
public boolean delete(@Nonnull @NotEmpty final String context, @Nonnull @NotEmpty final String key)
throws IOException {
try {
@@ -155,6 +163,7 @@
}
/** {@inheritDoc} */
+ @Override
public void updateContextExpiration(@Nonnull @NotEmpty final String context, @Nullable final Long expiration)
throws IOException {
final Lock writeLock = getLock().writeLock();
@@ -181,6 +190,7 @@
}
/** {@inheritDoc} */
+ @Override
public void deleteContext(@Nonnull @NotEmpty final String context) throws IOException {
final Lock writeLock = getLock().writeLock();
@@ -196,6 +206,7 @@
}
/** {@inheritDoc} */
+ @Override
public void reap(@Nonnull @NotEmpty final String context) throws IOException {
final Lock writeLock = getLock().writeLock();
[... 246 lines stripped ...]
More information about the commits
mailing list