public class SWIFT_PING extends FILE_PING
Modifier and Type | Class and Description |
---|---|
protected static class |
SWIFT_PING.SwiftClient
A thread safe Swift client
|
FILE_PING.WriterTask
Discovery.Responses
Modifier and Type | Field and Description |
---|---|
protected String |
auth_type |
protected String |
auth_url |
protected String |
container |
protected String |
password |
protected SWIFT_PING.SwiftClient |
swiftClient |
protected String |
tenant |
protected String |
username |
filter, interval, location, root_dir, SUFFIX
always_send_physical_addr_with_discovery_request, break_on_coord_rsp, current_coord, force_sending_discovery_rsps, group_addr, is_coord, is_leaving, is_server, local_addr, members, num_discovery_requests, num_initial_members, num_initial_srv_members, ping_responses, return_entire_cache, stagger_timeout, timeout, timer, use_disk_cache, view
Constructor and Description |
---|
SWIFT_PING() |
Modifier and Type | Method and Description |
---|---|
protected void |
createRootDir() |
void |
init()
Called after instance has been created (null constructor) and before protocol is started.
|
protected List<PingData> |
readAll(String clustername)
Reads all information from the given directory under clustername
|
protected void |
remove(String clustername,
Address addr) |
protected void |
writeToFile(PingData data,
String clustername) |
addressAsString, down, fetchClusterMembers, handleView, isDynamic, sendDiscoveryRequestsInParallel, start, stop
breakOnCoordResponse, breakOnCoordResponse, deserialize, discoveryRequestReceived, findAllViews, findAllViewsAsString, findInitialMembers, findInitialMembersAsString, findMembers, forceDiscoveryResponses, forceDiscoveryResponses, getCurrentCoord, getNumberOfDiscoveryRequestsSent, getNumInitialMembers, getTimeout, getView, getViewId, handleConnect, handleDisconnect, isMergeRunning, marshal, numInitialMembers, numInitialMembers, providedUpServices, readPingData, resetStats, returnEntireCache, returnEntireCache, sendDiscoveryRequest, sendDiscoveryResponse, sendMcastDiscoveryRequest, serializeWithoutView, setForceSendingDiscoveryRsps, setNumInitialMembers, setTimeout, staggerTimeout, staggerTimeout, timeout, timeout, up, useDiskCache, useDiskCache
accept, destroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, isErgonomics, level, printStats, providedDownServices, requiredDownServices, requiredUpServices, resetStatistics, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, statsEnabled, up
protected SWIFT_PING.SwiftClient swiftClient
protected String auth_url
protected String auth_type
protected String tenant
protected String username
protected String password
protected String container
public void init() throws Exception
Protocol
protected List<PingData> readAll(String clustername)
FILE_PING
protected void writeToFile(PingData data, String clustername)
writeToFile
in class FILE_PING
protected void createRootDir()
createRootDir
in class FILE_PING
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.