a80494b62a9593f826f1d59263ca1543f595f4b4
[controller.git] / opendaylight / connectionmanager / implementation / src / main / java / org / opendaylight / controller / connectionmanager / scheme / LoadBalancedScheme.java
1 package org.opendaylight.controller.connectionmanager.scheme;
2
3
4 import org.opendaylight.controller.clustering.services.IClusterGlobalServices;
5 import org.opendaylight.controller.connectionmanager.ConnectionMgmtScheme;
6 import org.opendaylight.controller.sal.core.Node;
7
8 /**
9  * Load Balancing scheme will let the nodes connect with controller based
10  * on the resource usage in each of the controllers in a cluster.
11  *
12  * Incomplete and Currently not used.
13  */
14
15 class LoadBalancedScheme extends AbstractScheme {
16
17     protected LoadBalancedScheme(IClusterGlobalServices clusterServices) {
18         super(clusterServices, ConnectionMgmtScheme.LOAD_BALANCED);
19     }
20
21     public static AbstractScheme getScheme(IClusterGlobalServices clusterServices) {
22         return null;
23     }
24
25     @Override
26     public boolean isConnectionAllowedInternal(Node node) {
27         return false;
28     }
29
30 }