Interface PartitionSetFactory


public interface PartitionSetFactory
Factory for creating partition sets.
Author:
Brandon Arp (brandon dot arp at inscopemetrics dot com)
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String namespace, int maxEntriesPerPartition, int maxPartitions)
    Creates a PartitionSet in a given namespace.
  • Method Details

    • create

      PartitionSet create(String namespace, int maxEntriesPerPartition, int maxPartitions)
      Creates a PartitionSet in a given namespace.
      Parameters:
      namespace - namespace that uniquely describes the partition set
      maxEntriesPerPartition - the maximum number of entries in a partition
      maxPartitions - the maximum number of partitions in the partition set
      Returns:
      a new PartitionSet