Package io.ebean
Class DocStoreQueueEntry
java.lang.Object
io.ebean.DocStoreQueueEntry
public final class DocStoreQueueEntry extends Object
Bean holding the details to update the document store.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocStoreQueueEntry.ActionAction to either update or delete a document from the index. -
Constructor Summary
Constructors Constructor Description DocStoreQueueEntry(DocStoreQueueEntry.Action type, String queueId, Object beanId)Construct for an INDEX or DELETE action.DocStoreQueueEntry(DocStoreQueueEntry.Action type, String queueId, String path, Object beanId)Construct for an NESTED/embedded path invalidation action. -
Method Summary
Modifier and Type Method Description ObjectgetBeanId()Return the bean id (which matches the document id).StringgetPath()Return the path if this is a nested update.StringgetQueueId()Return the associate queueId.DocStoreQueueEntry.ActiongetType()Return the event type.
-
Constructor Details
-
DocStoreQueueEntry
Construct for an INDEX or DELETE action. -
DocStoreQueueEntry
public DocStoreQueueEntry(DocStoreQueueEntry.Action type, String queueId, String path, Object beanId)Construct for an NESTED/embedded path invalidation action.
-
-
Method Details
-
getType
Return the event type. -
getQueueId
Return the associate queueId. -
getPath
Return the path if this is a nested update. -
getBeanId
Return the bean id (which matches the document id).
-