gr.uoa.di.madgik.rr.bridge
Class RegistryBridge

java.lang.Object
  extended by java.lang.Thread
      extended by gr.uoa.di.madgik.rr.bridge.RegistryBridge
All Implemented Interfaces:
Runnable

public class RegistryBridge
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RegistryBridge(IRegistryProvider provider)
           
 
Method Summary
 boolean getClearDataStoreOnStartup()
           
 long getCurrentIteration()
           
 boolean isInitialBridgingComplete()
           
 void reset()
           
 void run()
           
 void setBridgingPeriod(long millis)
           
 void setClearDataStoreOnStartup(boolean value)
           
 void setIncoming(Set<String> incoming)
           
 void setInitialBridging(boolean value)
           
 void setInMemory(Set<String> inMemory)
           
 void setOutgoing(Set<String> outgoing)
           
 void setShortBridgingPeriod(long millis)
           
 void setUpdating(Set<String> updating)
           
 void update()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistryBridge

public RegistryBridge(IRegistryProvider provider)
               throws ResourceRegistryException
Throws:
ResourceRegistryException
Method Detail

setIncoming

public void setIncoming(Set<String> incoming)
                 throws ResourceRegistryException
Throws:
ResourceRegistryException

setOutgoing

public void setOutgoing(Set<String> outgoing)
                 throws ResourceRegistryException
Throws:
ResourceRegistryException

setUpdating

public void setUpdating(Set<String> updating)
                 throws ResourceRegistryException
Throws:
ResourceRegistryException

setInMemory

public void setInMemory(Set<String> inMemory)
                 throws ResourceRegistryException
Throws:
ResourceRegistryException

setBridgingPeriod

public void setBridgingPeriod(long millis)

setShortBridgingPeriod

public void setShortBridgingPeriod(long millis)

setClearDataStoreOnStartup

public void setClearDataStoreOnStartup(boolean value)

getClearDataStoreOnStartup

public boolean getClearDataStoreOnStartup()

getCurrentIteration

public long getCurrentIteration()

update

public void update()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

isInitialBridgingComplete

public boolean isInitialBridgingComplete()

setInitialBridging

public void setInitialBridging(boolean value)

reset

public void reset()
           throws ResourceRegistryException,
                  InterruptedException
Throws:
ResourceRegistryException
InterruptedException


Copyright © 2013. All Rights Reserved.