public class

PartitionConfiguration

extends HelixProperty
java.lang.Object
   ↳ org.apache.helix.HelixProperty
     ↳ org.apache.helix.model.PartitionConfiguration

Class Overview

Persisted configuration properties for a partition

Summary

[Expand]
Inherited Fields
From class org.apache.helix.HelixProperty
Public Constructors
PartitionConfiguration(PartitionId id)
Instantiate for an id
PartitionConfiguration(ZNRecord record)
Instantiate from a record
Public Methods
static PartitionConfiguration from(UserConfig userConfig)
Create a new PartitionConfiguration from a UserConfig
[Expand]
Inherited Methods
From class org.apache.helix.HelixProperty
From class java.lang.Object

Public Constructors

public PartitionConfiguration (PartitionId id)

Instantiate for an id

Parameters
id partition id

public PartitionConfiguration (ZNRecord record)

Instantiate from a record

Parameters
record configuration properties

Public Methods

public static PartitionConfiguration from (UserConfig userConfig)

Create a new PartitionConfiguration from a UserConfig

Parameters
userConfig user-defined configuration properties
Returns
  • PartitionConfiguration