public class SplitBrainMulticastListener extends Object implements MulticastListener
SplitBrainJoinMessage
s and adds them for processing by split brain handler. Each messages is added
to the head of a BlockingDeque
, so that polling the BlockingDeque
will return the message received last
(thus operating as a stack).Constructor and Description |
---|
SplitBrainMulticastListener(Node node,
BlockingDeque<SplitBrainJoinMessage> deque) |
public SplitBrainMulticastListener(Node node, BlockingDeque<SplitBrainJoinMessage> deque)
public void onMessage(Object msg)
onMessage
in interface MulticastListener
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.