allEntries

Whether or not all the entries inside the cache(s) are removed or not. By
default, only the value under the associated key is removed.

Note that specifying setting this parameter to true and specifying a
key is not allowed.

Default:

false

beforeInvocation

public abstract boolean beforeInvocation

Whether the eviction should occur after the method is successfully invoked (default)
or before. The latter causes the eviction to occur irrespective of the method outcome (whether
it threw an exception or not) while the former does not.