public final class EndpointDistributor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_POLLING_ACTIVATED |
static String |
PROP_POLLING_INTERVAL |
Modifier and Type | Method and Description |
---|---|
void |
activateNextEndPoint(String currentEndpoint) |
void |
activatePolling() |
String |
getActiveEndpoint(String currentEndpoint) |
int |
getAmountOfAlternatives(String currentEndpoint) |
CacheInformation |
getCacheInformation(String currentEndpoint) |
static EndpointDistributor |
getInstance() |
String |
getService(String currentEndpoint) |
boolean |
mustCache(String currentEndpoint) |
boolean |
mustPoll() |
static boolean |
update() |
void |
update(EndPointInformation info) |
public static final String PROP_POLLING_INTERVAL
public static final String PROP_POLLING_ACTIVATED
public static EndpointDistributor getInstance()
public boolean mustCache(String currentEndpoint)
public CacheInformation getCacheInformation(String currentEndpoint)
public void activatePolling()
public boolean mustPoll()
public void activateNextEndPoint(String currentEndpoint) throws NoNextEndpointException
NoNextEndpointException
public int getAmountOfAlternatives(String currentEndpoint)
public void update(EndPointInformation info)
public static boolean update()
Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.