public class JPPFDefaultConnectionStrategy extends Object implements DriverConnectionStrategy
DriverConnectionStrategyis the JPPF default and produces DriverConnectionInfo instances based solely on the JPPF configuration.
|Constructor and Description|
|Modifier and Type||Method and Description|
Get a new connection information, eventually based on the one that was previously used.
public DriverConnectionInfo nextConnectionInfo(DriverConnectionInfo currentInfo, ConnectionContext context)
DriverConnectionInfothat was previously used to connecto the driver, or
nullif the node is connecting for the first time.
context- provides information on why a new connection is requested, so as to help deciding which connection information to provide.
DriverConnectionInfoobject that the node will use to connect to the driver.
Copyright © 2005-2015 JPPF Team.