org.exist.cluster
Class ClusterEvent
java.lang.Object
org.exist.cluster.ClusterEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CreateCollectionClusterEvent, RemoveClusterEvent, RemoveCollectionClusterEvent, StoreClusterEvent, UpdateClusterEvent
public abstract class ClusterEvent
- extends Object
- implements Serializable
Created by Francesco Mondora.
- Author:
- Francesco Mondora aka Makkina
Date: Aug 30, 2004
Time: 3:42:17 PM
Revision $Revision: 6320 $
- See Also:
- Serialized Form
NO_EVENT
public static final int NO_EVENT
- See Also:
- Constant Field Values
ClusterEvent
public ClusterEvent()
getCollectionName
public String getCollectionName()
getDocumentName
public String getDocumentName()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
execute
public abstract void execute()
throws ClusterException
- Execute the current command.
- Throws:
ClusterException
getResource
public XMLResource getResource()
throws XMLDBException
- Throws:
XMLDBException
getCollection
public Collection getCollection(String cName)
throws XMLDBException
- Throws:
XMLDBException
getCollection
public Collection getCollection()
throws XMLDBException
- Throws:
XMLDBException
getId
public int getId()
setId
public void setId(int id)
getCounter
public int getCounter()
setCounter
public void setCounter(int counter)
Copyright (C) Wolfgang Meier. All rights reserved.