public class BulkCacheLoadingException extends CacheLoadingException
Cache
when its CacheLoaderWriter
fails while bulk loading values.Constructor and Description |
---|
BulkCacheLoadingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Map<?,?> successes)
Constructs a
BulkCacheLoadingException instance with the given maps. |
BulkCacheLoadingException(java.lang.String message,
java.util.Map<java.lang.Object,java.lang.Exception> failures,
java.util.Map<java.lang.Object,java.lang.Object> successes)
Constructs a new exception instance with the given message and maps.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<?,java.lang.Exception> |
getFailures()
Returns the map of keys to exception.
|
java.util.Map<?,?> |
getSuccesses()
Returns the map of keys to value.
|
public BulkCacheLoadingException(java.util.Map<?,java.lang.Exception> failures, java.util.Map<?,?> successes)
BulkCacheLoadingException
instance with the given maps.
The two maps are:
failures
- the map of keys to failure encountered while loadingsuccesses
- the map of keys successfully loaded and their associated valuepublic BulkCacheLoadingException(java.lang.String message, java.util.Map<java.lang.Object,java.lang.Exception> failures, java.util.Map<java.lang.Object,java.lang.Object> successes)
The given two maps are:
message
- the exception messagefailures
- 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.Map<?,?> getSuccesses()