public class

Partition

extends Object
java.lang.Object
   ↳ org.apache.helix.model.Partition

Class Overview

A distinct partition of a resource

Summary

Public Constructors
Partition(String partitionName)
Instantiate with a partition name
Public Methods
boolean equals(Object obj)
String getPartitionName()
Get the name of the partition, unique for the resource
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Partition (String partitionName)

Instantiate with a partition name

Parameters
partitionName unique partition name within a resource

Public Methods

public boolean equals (Object obj)

public String getPartitionName ()

Get the name of the partition, unique for the resource

Returns
  • partition name

public int hashCode ()

public String toString ()