public class BulkCacheWritingException extends CacheWritingException
Cache when its CacheLoaderWriter
fails while bulk mutating values.| Constructor and Description |
|---|
BulkCacheWritingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Set<?> successes)
Constructs a
BulkCacheWritingException instance with the given map and set. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<?,java.lang.Exception> |
getFailures()
Returns the map of keys to exception.
|
java.util.Set<?> |
getSuccesses()
Returns the set of keys that were successfully written.
|
public BulkCacheWritingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Set<?> successes)
BulkCacheWritingException instance with the given map and set.
The given arguments are:
failures - the map of keys to failure encountered while loadingsuccesses - the map of keys successfully loaded and their associated valuepublic java.util.Map<?,java.lang.Exception> getFailures()
public java.util.Set<?> getSuccesses()