org.sdnplatform.sync.internal.config
Class FallbackCCProvider

java.lang.Object
  extended by org.sdnplatform.sync.internal.config.FallbackCCProvider
All Implemented Interfaces:
IClusterConfigProvider

public class FallbackCCProvider
extends java.lang.Object
implements IClusterConfigProvider

Provide a fallback local configuration

Author:
readams

Field Summary
protected static org.slf4j.Logger logger
           
protected  boolean warned
           
 
Constructor Summary
FallbackCCProvider()
           
 
Method Summary
 ClusterConfig getConfig()
          Get the ClusterConfig that represents the current cluster
 void init(SyncManager syncManager, FloodlightModuleContext context)
          Initialize the provider with the configuration parameters from the Floodlight module context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger

warned

protected volatile boolean warned
Constructor Detail

FallbackCCProvider

public FallbackCCProvider()
                   throws SyncException
Throws:
SyncException
Method Detail

getConfig

public ClusterConfig getConfig()
                        throws SyncException
Description copied from interface: IClusterConfigProvider
Get the ClusterConfig that represents the current cluster

Specified by:
getConfig in interface IClusterConfigProvider
Returns:
the ClusterConfig object
Throws:
SyncException

init

public void init(SyncManager syncManager,
                 FloodlightModuleContext context)
Description copied from interface: IClusterConfigProvider
Initialize the provider with the configuration parameters from the Floodlight module context.

Specified by:
init in interface IClusterConfigProvider