mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-317: Add convenience getter for failover-only attribute at Connection level.
This commit is contained in:
@@ -451,4 +451,17 @@ public class ModeledConnection extends ModeledChildDirectoryObject<ConnectionMod
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns whether this connection should be reserved for failover.
|
||||||
|
* Failover-only connections within a balancing group are only used when
|
||||||
|
* all non-failover connections are unavailable.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
* true if this connection should be reserved for failover, false
|
||||||
|
* otherwise.
|
||||||
|
*/
|
||||||
|
public boolean isFailoverOnly() {
|
||||||
|
return getModel().isFailoverOnly();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user