public class SetupHazelCastListeners extends Object
ListenItemOnHazelCast
for provided list of VMConnectInfo
.Constructor and Description |
---|
SetupHazelCastListeners() |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
List<ListenItemOnHazelCast> |
getItemListeners() |
Supplier<List<VMConnectInfo>> |
getVmConnectInfosSupplier() |
void |
init() |
void |
setItemListeners(List<ListenItemOnHazelCast> itemListeners) |
void |
setVmConnectInfosSupplier(Supplier<List<VMConnectInfo>> vmConnectInfos) |
@PostConstruct public void init()
public void flush()
public Supplier<List<VMConnectInfo>> getVmConnectInfosSupplier()
VMConnectInfo
s for which listeners need to be created.public void setVmConnectInfosSupplier(Supplier<List<VMConnectInfo>> vmConnectInfos)
vmConnectInfos
- - supply list of VMConnectInfo
s for which listeners need to be createdpublic List<ListenItemOnHazelCast> getItemListeners()
public void setItemListeners(List<ListenItemOnHazelCast> itemListeners)
itemListeners
- - list of listeners that need to be spun up for each of the VMs.Copyright © 2018. All rights reserved.