com.hazelcast.core

## Interface DistributedObjectListener

- All Superinterfaces:
    EventListener

      public interface DistributedObjectListener
      extends EventListener

  DistributedObjectListener notifies when a `DistributedObject` is created or destroyed cluster-wide.
  See Also:
    `DistributedObject`, `HazelcastInstance.addDistributedObjectListener(DistributedObjectListener)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `distributedObjectCreated(DistributedObjectEvent event)` Invoked when a DistributedObject is created.
    `void` | `distributedObjectDestroyed(DistributedObjectEvent event)` Invoked when a DistributedObject is destroyed.

- - ### Method Detail

    - #### distributedObjectCreated

          void distributedObjectCreated(DistributedObjectEvent event)

      Invoked when a DistributedObject is created.
      Parameters:
        `event` - the event for the created DistributedObject

    - #### distributedObjectDestroyed

          void distributedObjectDestroyed(DistributedObjectEvent event)

      Invoked when a DistributedObject is destroyed.
      Parameters:
        `event` - the event for the destroyed DistributedObject

Copyright © 2019. All rights reserved.