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
All Methods Instance Methods Concrete Methods 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 Detail
-
DocStoreQueueEntry
public DocStoreQueueEntry(DocStoreQueueEntry.Action type, String queueId, Object beanId)
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 Detail
-
getType
public DocStoreQueueEntry.Action getType()
Return the event type.
-
getQueueId
public String getQueueId()
Return the associate queueId.
-
-