public class BulkCacheWritingException extends CacheWritingException
Cache
when the CacheLoaderWriter
it uses threw an
exception while bulk writing / removing values for a given set of keysConstructor and Description |
---|
BulkCacheWritingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Set<?> successes)
Constructs a new BulkCacheWritingException providing the key set that failed, including the exception loading these
threw, as well as all keys we managed to write a value for.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<?,java.lang.Exception> |
getFailures()
Accessor to all keys that failed loading during a bulk load operation, with the associated
Exception encountered |
java.util.Set<?> |
getSuccesses()
Accessor to all keys that were successfully loaded during a bulk load operation
|
public BulkCacheWritingException(java.util.Map<?,java.lang.Exception> failures, java.util.Set<?> successes)
Cache
.failures
- the map of keys to failure encountered while loading the valuessuccesses
- the set of keys successfully written / removedpublic java.util.Map<?,java.lang.Exception> getFailures()
Exception
encounteredpublic java.util.Set<?> getSuccesses()
Cache