Interface IMultiNodeCapable


  • public interface IMultiNodeCapable

    This is a marker interface for all event beans that can run on numerous nodes in a cluster at the same time (as opposed to beans that are only allowed to run on the master node).

    If you implement this interface then your beans will be started not only on one the master node in an ivy cluster but on all nodes.

    Be aware that this might have unpredictable effects: e.g. multiple start starter beans watch a folder for new files, but only the fastest can pick up the newly deployed file, other beans may fail because the deployed file will be deleted by another bean when they are reading it (IOException, concurrent modification exception, etc.).
    Please implement this interface carefully

    Since:
    18.03.2010
    API:
    This is a public API.