|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateListener
Field Summary | |
---|---|
static int |
ADD
Notification type: a document was added to a collection |
static int |
REMOVE
Notification type: a document was removed |
static int |
UPDATE
Notification type: a document has been updated |
Method Summary | |
---|---|
void |
debug()
|
void |
documentUpdated(DocumentImpl document,
int event)
Called whenever a document is updated within the database. |
void |
nodeMoved(NodeId oldNodeId,
StoredNode newNode)
nodeMoved is called after a defragmentation run occurred for a document during which the address and the nodeId of a node may have changed. |
void |
unsubscribe()
Called when the listener is removed from the notification service |
Field Detail |
---|
static final int ADD
static final int UPDATE
static final int REMOVE
Method Detail |
---|
void documentUpdated(DocumentImpl document, int event)
ADD
, UPDATE
or REMOVE
.
document
- event
- void nodeMoved(NodeId oldNodeId, StoredNode newNode)
oldNodeId
- newNode
- void unsubscribe()
void debug()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |