public int getConnectionWeight() {

        Integer connectionWeight = getModel().getConnectionWeight();
        if (connectionWeight == null)
            return 1;
        return connectionWeight;

    }
Returns the weight of the connection used in applying weighted
load balancing algorithms, or a default of 1 if the 
attribute is undefined.
 
@return
    The weight of the connection used in applying weighted
    load balancing algorithms.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/connection/ModeledConnection.java