public class KUBE_PING
extends org.jgroups.protocols.Discovery
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiVersion |
protected String |
caCertFile |
protected Client |
client |
protected String |
clientCertFile |
protected String |
clientKeyAlgo |
protected String |
clientKeyFile |
protected String |
clientKeyPassword |
protected int |
connectTimeout |
protected boolean |
dump_requests |
protected static short |
KUBERNETES_PING_ID |
protected String |
labels |
protected String |
masterHost |
protected int |
masterPort |
protected String |
masterProtocol |
protected String |
namespace |
protected int |
operationAttempts |
protected long |
operationSleep |
protected int |
port_range |
protected int |
readTimeout |
protected String |
saTokenFile |
protected int |
tp_bind_port |
async_discovery, async_discovery_use_separate_thread_per_request, break_on_coord_rsp, cluster_name, current_coord, discovery_rsp_expiry_time, is_coord, is_leaving, is_server, local_addr, max_members_in_discovery_request, max_rank_to_reply, num_discovery_requests, ping_responses, return_entire_cache, send_cache_on_join, sends_can_block, stagger_timeout, timer, transport_supports_multicasting, use_disk_cache, use_ip_addrs, view, WHITESPACE| Constructor and Description |
|---|
KUBE_PING() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
fetchFromKube() |
void |
findMembers(List<org.jgroups.Address> members,
boolean initial_discovery,
org.jgroups.util.Responses responses) |
void |
init() |
protected boolean |
isClusteringEnabled() |
boolean |
isDynamic() |
protected List<String> |
readAll() |
protected void |
sendDiscoveryRequest(org.jgroups.Message req) |
void |
setMasterHost(String masterMost) |
void |
setMasterPort(int masterPort) |
void |
setNamespace(String namespace) |
String |
toString() |
addDiscoveryResponseToCaches, addResponse, addressAsString, addToCache, breakOnCoordResponse, breakOnCoordResponse, deserialize, discoveryRequestReceived, discoveryRspExpiryTime, disseminateDiscoveryInformation, down, dumpCache, findInitialMembersAsString, findMembers, getCurrentCoord, getNumberOfDiscoveryRequestsSent, getView, getViewId, handleConnect, handleDisconnect, handleDiscoveryResponse, isCoord, isMergeRunning, marshal, providedUpServices, read, readPingData, resetStats, returnEntireCache, returnEntireCache, sendCacheInformation, sendDiscoveryResponse, serializeWithoutView, staggerTimeout, staggerTimeout, start, startCacheDissemination, stop, up, up, useDiskCache, useDiskCache, weedOutCompletedDiscoveryResponses, writeaccept, afterCreationHook, down, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getLog, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, isErgonomics, level, parse, providedDownServices, requiredDownServices, requiredUpServices, resetStatistics, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, statsEnabled, upprotected static final short KUBERNETES_PING_ID
protected int port_range
protected int connectTimeout
protected int readTimeout
protected int operationAttempts
protected long operationSleep
protected String masterProtocol
protected String masterHost
protected int masterPort
protected String apiVersion
protected String namespace
protected String labels
protected String clientCertFile
protected String clientKeyFile
protected String clientKeyPassword
protected String clientKeyAlgo
protected String caCertFile
protected String saTokenFile
protected boolean dump_requests
protected Client client
protected int tp_bind_port
public boolean isDynamic()
isDynamic in class org.jgroups.protocols.Discoverypublic void setMasterHost(String masterMost)
public void setMasterPort(int masterPort)
public void setNamespace(String namespace)
protected boolean isClusteringEnabled()
public void init()
throws Exception
init in class org.jgroups.protocols.DiscoveryExceptionpublic void destroy()
destroy in class org.jgroups.stack.Protocolpublic void findMembers(List<org.jgroups.Address> members, boolean initial_discovery, org.jgroups.util.Responses responses)
findMembers in class org.jgroups.protocols.Discoverypublic String fetchFromKube()
protected void sendDiscoveryRequest(org.jgroups.Message req)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.