Interface PartitionGroup.Type<C extends PartitionGroupConfig<C>>

All Superinterfaces:
Named, NamedType, Type
All Known Implementing Classes:
RaftPartitionGroup.Type
Enclosing interface:
PartitionGroup

public static interface PartitionGroup.Type<C extends PartitionGroupConfig<C>> extends NamedType
Partition group type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the partition group namespace.
    Creates a new partition group instance.

    Methods inherited from interface io.atomix.utils.Named

    name

    Methods inherited from interface io.atomix.utils.Type

    name
  • Method Details

    • namespace

      Namespace namespace()
      Returns the partition group namespace.
      Returns:
      the partition group namespace
    • newPartitionGroup

      ManagedPartitionGroup newPartitionGroup(C config)
      Creates a new partition group instance.
      Parameters:
      config - the partition group configuration
      Returns:
      the partition group