org.gcube.common.messaging.endpoints
Class BrokerEndpoints

java.lang.Object
  extended by org.gcube.common.messaging.endpoints.BrokerEndpoints

public class BrokerEndpoints
extends Object

Author:
Andrea

Constructor Summary
BrokerEndpoints()
           
 
Method Summary
static ScheduledRetriever getRetriever()
          Get an already instantiated retriever for the scope passed trough ScopeProvider
static ScheduledRetriever getRetriever(long waitingTime, long refreshTime)
          Instantiate a ScheduledRetriever with the given waitingtime and refreshtime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerEndpoints

public BrokerEndpoints()
Method Detail

getRetriever

public static ScheduledRetriever getRetriever(long waitingTime,
                                              long refreshTime)
                                       throws Exception,
                                              BrokerNotConfiguredInScopeException
Instantiate a ScheduledRetriever with the given waitingtime and refreshtime

Parameters:
waitingTime -
refreshTime -
Returns:
Throws:
Exception
BrokerNotConfiguredInScopeException

getRetriever

public static ScheduledRetriever getRetriever()
                                       throws Exception
Get an already instantiated retriever for the scope passed trough ScopeProvider

Returns:
Throws:
Exception


Copyright © 2014. All Rights Reserved.