Package lupos.distributedendpoints.storage.util

Examples of lupos.distributedendpoints.storage.util.EndpointManagement


  /**
   * Constructor: The endpoint management is initialized (which reads in the configuration file with registered endpoints)
   */
  public Storage_DE(final BindingsFactory bindingsFactory){
    super(bindingsFactory);
    this.endpointManagement = new EndpointManagement();
  }
View Full Code Here


   * Constructor: The endpoint management is initialized (which reads in the configuration file with registered endpoints)
   *
   * @param distribution The distribution strategy to be used
   */
  public Storage_DE_DistributionStrategy(final IDistributionKeyContainer<Integer> distribution, final BindingsFactory bindingsFactory) {
    this(new EndpointManagement(), distribution, bindingsFactory);
  }
View Full Code Here

   * The keys of the distribution are additionally transformed into integer values by hashing (and modulo calculation with the number of endpoints)
   * @param distribution the distribution strategy
   * @return an instance of Storage_DE_DistributionStrategy
   */
  public static<K> Storage_DE_DistributionStrategy createInstance(final IDistributionKeyContainer<K> distribution, final BindingsFactory bindingsFactory){
    final EndpointManagement endpointManagement = new EndpointManagement();
    final IDistributionKeyContainer<Integer> outer_distribution = new HashingDistributionPipe<K>(distribution, endpointManagement.numberOfEndpoints());
    return new Storage_DE_DistributionStrategy(endpointManagement, outer_distribution, bindingsFactory);
  }
View Full Code Here

TOP

Related Classes of lupos.distributedendpoints.storage.util.EndpointManagement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.