Package com.linkedin.databus.client.pub

Examples of com.linkedin.databus.client.pub.DbusModPartitionedFilterFactory


    return relayPuller;
  }

  private static DbusKeyCompositeFilterConfig createFakeFilter() throws DatabusException
  {
    DbusModPartitionedFilterFactory filterFactory = new DbusModPartitionedFilterFactory("source1");
    DbusClusterInfo cluster = new DbusClusterInfo("cluster", 2, 2);
    DbusPartitionInfo partition = new DbusPartitionInfo() {
      @Override
      public long getPartitionId() { return 1; }
      @Override
      public boolean equalsPartition(DbusPartitionInfo other) { return true; }
    };

    return filterFactory.createServerSideFilter(cluster, partition);
  }
View Full Code Here

TOP

Related Classes of com.linkedin.databus.client.pub.DbusModPartitionedFilterFactory

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.