See also: bug 8607
Change-Id: Ia72af7d846cd1a6e900b36821ef62703db4ebc1d
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
*/
package org.opendaylight.openflowplugin.impl.role;
-/**
- * Created by kramesha on 8/21/15.
- */
public class RoleChangeException extends Exception {
private static final long serialVersionUID = -615991366447313972L;
/**
- * default ctor
+ * Default constructor.
*
- * @param message
+ * @param message - message
*/
public RoleChangeException(String message) {
super(message);
}
/**
- * @param message
- * @param cause
+ * Constructor.
+ *
+ * @param message - message
+ * @param cause - cause
*/
public RoleChangeException(String message, Throwable cause) {
super(message, cause);
final long checkRoleMasterTimeout) {
this.deviceInfo = deviceInfo;
this.timer = timer;
- slaveTask = timer.newTimeout((t) -> makeDeviceSlave(), checkRoleMasterTimeout, TimeUnit.MILLISECONDS);
+ slaveTask = timer.newTimeout((timerTask) -> makeDeviceSlave(), checkRoleMasterTimeout, TimeUnit.MILLISECONDS);
LOG.info("Started timer for setting SLAVE role on device {} if no role will be set in {}s.",
deviceInfo,