[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynam...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Nov 7 13:15:21 EST 2016
Author: scantor
Date: Mon Nov 7 13:15:21 2016
New Revision: 4570
URL: http://svn.shibboleth.net/view/java-opensaml?rev=4570&view=rev
Log:
OSJ-183 - backgroundInitializationFromCacheDelay property misspelled in AbstractDynamicMetadataProvider
https://issues.shibboleth.net/jira/browse/OSJ-183
Modified:
trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolver.java
Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolver.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolver.java?rev=4570&r1=4569&r2=4570&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolver.java (original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolver.java Mon Nov 7 13:15:21 2016
@@ -155,7 +155,7 @@
private boolean initializeFromPersistentCacheInBackground;
/** The delay in milliseconds after which to schedule the background initialization from the persistent cache. */
- @Duration @Positive private Long backgroundInitializatonFromCacheDelay;
+ @Duration @Positive private Long backgroundInitializationFromCacheDelay;
/** Predicate which determines whether a given entity should be loaded from the persistent cache
* at resolver initialization time. */
@@ -203,7 +203,7 @@
initializeFromPersistentCacheInBackground = true;
// Default to 2 seconds.
- backgroundInitializatonFromCacheDelay = 2*1000L;
+ backgroundInitializationFromCacheDelay = 2*1000L;
}
/**
@@ -236,9 +236,11 @@
* <p>Defaults to: 2 seconds.</p>
*
* @return the delay in milliseconds
- */
- @Nonnull public Long getBackgroundInitializatonFromCacheDelay() {
- return backgroundInitializatonFromCacheDelay;
+ *
+ * @since 3.3.0
+ */
+ @Nonnull public Long getBackgroundInitializationFromCacheDelay() {
+ return backgroundInitializationFromCacheDelay;
}
/**
@@ -247,11 +249,13 @@
* <p>Defaults to: 2 seconds.</p>
*
* @param delay the delay in milliseconds
- */
- public void setBackgroundInitializatonFromCacheDelay(@Nonnull final Long delay) {
+ *
+ * @since 3.3.0
+ */
+ public void setBackgroundInitializationFromCacheDelay(@Nonnull final Long delay) {
ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
ComponentSupport.ifDestroyedThrowDestroyedComponentException(this);
- backgroundInitializatonFromCacheDelay = delay;
+ backgroundInitializationFromCacheDelay = delay;
}
/**
@@ -851,13 +855,13 @@
persistentCacheInitMetrics.enabled = true;
if (isInitializeFromPersistentCacheInBackground()) {
log.debug("Initializing from the persistent cache in the background in {} ms",
- getBackgroundInitializatonFromCacheDelay());
+ getBackgroundInitializationFromCacheDelay());
TimerTask initTask = new TimerTask() {
public void run() {
initializeFromPersistentCache();
}
};
- taskTimer.schedule(initTask, getBackgroundInitializatonFromCacheDelay());
+ taskTimer.schedule(initTask, getBackgroundInitializationFromCacheDelay());
} else {
log.debug("Initializing from the persistent cache in the foreground");
initializeFromPersistentCache();
More information about the commits
mailing list