org.jgroups.protocols
Class WANPING
Similar to TCPPING, except that the initial host list is specified as a list of logical pipe names.
down_handler, down_prot, down_queue, down_thread, down_thread_prio, log, observer, props, stack, stats, trace, up_handler, up_prot, up_queue, up_thread, up_thread_prio, warn |
down, findInitialMembers, findInitialMembersAsString, getNumInitialMembers, getNumPingRequests, getNumberOfDiscoveryRequestsSent, getTimeout, handleConnect, handleConnectOK, handleDisconnect, localAddressSet, makeView, providedUpServices, resetStats, sendGetMembersRequest, setNumInitialMembers, setNumPingRequests, setProperties, setTimeout, start, stop, up |
destroy, down, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getDownQueue, getName, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, init, isTrace, isWarn, passDown, passUp, printStats, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setObserver, setProperties, setPropertiesInternal, setProtocolStack, setTrace, setUpProtocol, setWarn, start, startDownHandler, startUpHandler, statsEnabled, stop, stopInternal, up, upThreadEnabled |
setProperties
public boolean setProperties(Properties props)
sets the properties of the PING protocol.
The following properties are available
property: timeout - the timeout (ms) to wait for the initial members, default is 3000=3 secs
property: num_initial_members - the minimum number of initial members for a FIND_INITAL_MBRS, default is 2
- setProperties in interface Discovery
- returns true if all properties were parsed properly
returns false if there are unrecnogized properties in the property set
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.