Package org.apache.ignite.cache
Class CachePartialUpdateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.cache.CacheException
-
- org.apache.ignite.cache.CachePartialUpdateException
-
- All Implemented Interfaces:
Serializable
public class CachePartialUpdateException extends javax.cache.CacheException
Exception thrown from non-transactional cache in case when update succeeded only partially. One can get list of keys for which update failed with methodfailedKeys()
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CachePartialUpdateException(org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K> Collection<K>
failedKeys()
Gets collection of failed keys.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
failedKeys
public <K> Collection<K> failedKeys()
Gets collection of failed keys.- Type Parameters:
K
- Type of keys.- Returns:
- Collection of failed keys.
-
-