Skip to content

Commit

Permalink
ISPN-2242 Added @ManagedOperation and @operation to clear() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnism authored and tristantarrant committed Dec 14, 2012
1 parent 5ab1ad9 commit 2e8d5ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/org/infinispan/CacheImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ final V remove(Object key, EnumSet<Flag> explicitFlags, ClassLoader explicitClas
}

@Override
@ManagedOperation(description = "Clears the cache.")
@Operation(displayName = "Clears the cache.")
public final void clear() {
clear(null, null);
}
Expand Down

0 comments on commit 2e8d5ef

Please sign in to comment.