|
|||||||||
| 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.exceptions.CacheLoadingException
org.ehcache.exceptions.BulkCacheLoadingException
public class BulkCacheLoadingException
Exception thrown by a Cache when the CacheLoaderWriter it uses threw an
RuntimeException while bulk loading values for a given set of keys
| Constructor Summary | |
|---|---|
BulkCacheLoadingException(java.util.Map<?,java.lang.Exception> failures,
java.util.Map<?,?> successes)
Constructs a new BulkCacheLoadingException providing the key set that failed, including the exception loading these threw, as well as all keys we managed to load a value for, including the value loaded. |
|
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 BulkCacheLoadingException providing a message, the key set that failed, including the exception loading these threw, as well as all keys we managed to load a value for, including the value loaded. |
|
| Method Summary | |
|---|---|
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.Map<?,?> |
getSuccesses()
Accessor to all keys that were successfully loaded during a bulk load operation, with the associated loaded 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)
Cache.
failures - the map of keys to failure encountered while loading the valuessuccesses - the map of keys successfully loaded and their associated values
public 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)
Cache.
message - the messagefailures - the map of keys to failure encountered while loading the valuessuccesses - the map of keys successfully loaded and their associated valuesBulkCacheLoadingException(java.util.Map, java.util.Map)| Method Detail |
|---|
public java.util.Map<?,java.lang.Exception> getFailures()
Exception encountered
public java.util.Map<?,?> getSuccesses()
Cache
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||