public final class DocStoreQueueEntry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DocStoreQueueEntry.Action
Action to either update or delete a document from the index.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getBeanId()
Return the bean id (which matches the document id).
|
String |
getPath()
Return the path if this is a nested update.
|
String |
getQueueId()
Return the associate queueId.
|
DocStoreQueueEntry.Action |
getType()
Return the event type.
|
public DocStoreQueueEntry(DocStoreQueueEntry.Action type, String queueId, Object beanId)
public DocStoreQueueEntry(DocStoreQueueEntry.Action type, String queueId, String path, Object beanId)
public DocStoreQueueEntry.Action getType()
public String getQueueId()
Copyright © 2019. All rights reserved.