public class BasicHaListener extends Object implements HaListener
| Constructor and Description |
|---|
BasicHaListener(HaListener haListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Default implementation of method to be invoked once the node state changes to active.
|
void |
deactivate()
Default implementation of method to be invoked once the node state changes to passive.
|
boolean |
isActive()
Method to retrieve if the listener registered corresponds to the active node.
|
boolean |
isStartCalled()
Method to retrieve whether start was called explicitly.
|
void |
setStartCalled()
Method to indicate that start was called explicitly.
|
public BasicHaListener(HaListener haListener)
public void activate()
activate in interface HaListenerpublic void deactivate()
deactivate in interface HaListenerpublic boolean isActive()
public boolean isStartCalled()
public void setStartCalled()
Copyright © 2018 WSO2. All rights reserved.