Class WriteBehindOpResult
- java.lang.Object
-
- com.alachisoft.ncache.runtime.caching.WriteBehindOpResult
-
public class WriteBehindOpResult extends java.lang.Object
Result of data source operation.
-
-
Constructor Summary
Constructors Constructor Description WriteBehindOpResult(EventType eventType, WriteBehindOpStatus status, java.lang.Exception exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventType
getEventType()
Specifies the datasource event type.java.lang.Exception
getException()
Gets the exception.WriteBehindOpStatus
getStatus()
SpecifiesWriteBehindOpStatus
of data source operation.
-
-
-
Constructor Detail
-
WriteBehindOpResult
public WriteBehindOpResult(EventType eventType, WriteBehindOpStatus status, java.lang.Exception exception)
-
-
Method Detail
-
getEventType
public final EventType getEventType()
Specifies the datasource event type.- Returns:
- The EventType enum.
-
getStatus
public final WriteBehindOpStatus getStatus()
SpecifiesWriteBehindOpStatus
of data source operation.- Returns:
- The WriteBehindOpStatus enum
-
getException
public final java.lang.Exception getException()
Gets the exception. Exception is populated only if datasource opearation fails.- Returns:
- The corresponding exception.
-
-