Skip to content

Commit

Permalink
ISPN-2628 Remove a useless method from ActivationManagerImpl which al…
Browse files Browse the repository at this point in the history
…so happens to break the build
  • Loading branch information
tristantarrant authored and galderz committed Dec 13, 2012
1 parent f898ca8 commit cdc16e3
Showing 1 changed file with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,20 +119,5 @@ public String getActivations() {
public void resetStatistics() {
activations.set(0);
}

/**
* Disables a cache loader of a given type, where type is the fully qualified class name of a {@link org.infinispan.loaders.CacheLoader} implementation.
*
* If the given type cannot be found, this is a no-op. If more than one cache loader of the same type is configured,
* all cache loaders of the given type are disabled.
*
* @param loaderType fully qualified class name of the cache loader type to disable
*/
@ManagedOperation(description = "Disable all cache loaders of a given type, where type is a fully qualified class name of the cache loader to disable")
@Operation(displayName = "Disable all cache loaders of a given type, where type is a fully qualified class name of the cache loader to disable")
@SuppressWarnings("unused")
public void disableCacheLoader(String loaderType) {
if (enabled) clm.disableCacheStore(loaderType);
}

}

0 comments on commit cdc16e3

Please sign in to comment.