|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ehcache.spi.loaderwriter.CacheLoadingException
org.ehcache.spi.loaderwriter.BulkCacheLoadingException
public class BulkCacheLoadingException
Thrown by a Cache
when its CacheLoaderWriter
fails while bulk loading values.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 valueMethod Detail |
---|
public java.util.Map<?,java.lang.Exception> getFailures()
public java.util.Map<?,?> getSuccesses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |