public final enum

PropertyType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.helix.PropertyType

Class Overview

Types of data stored on Zookeeper by Helix

Summary

Enum Values
PropertyType  ALERTS   
PropertyType  ALERT_HISTORY   
PropertyType  ALERT_STATUS   
PropertyType  CONFIGS   
PropertyType  CONTROLLER   
PropertyType  CURRENTSTATES   
PropertyType  ERRORS   
PropertyType  ERRORS_CONTROLLER   
PropertyType  EXTERNALVIEW   
PropertyType  HEALTHREPORT   
PropertyType  HISTORY   
PropertyType  IDEALSTATES   
PropertyType  INSTANCES   
PropertyType  LEADER   
PropertyType  LIVEINSTANCES   
PropertyType  MESSAGES   
PropertyType  MESSAGES_CONTROLLER   
PropertyType  PAUSE   
PropertyType  PERSISTENTSTATS   
PropertyType  PROPERTYSTORE   
PropertyType  STATEMODELDEFS   
PropertyType  STATUSUPDATES   
PropertyType  STATUSUPDATES_CONTROLLER   
Public Methods
Type getType()
Gets the type of the associated node
boolean isCached()
Check if value is cached
boolean isCreateOnlyIfAbsent()
Determine if the property should only be created if it does not exist
boolean isMergeOnUpdate()
Determine if the property is merged or replaced on update
boolean isPersistent()
Get the persistent state of the property
boolean isUpdateOnlyOnExists()
Determine if this property is only updated if it exists
void setCreateIfAbsent(boolean createIfAbsent)
Set policy for creating only if it does not already exist
void setMergeOnUpdate(boolean mergeOnUpdate)
Enable or disable merging on an update to this property
void setPersistent(boolean isPersistent)
Set the persistent state of the property
void setType(Type type)
Set the type of the associated node
void setUpdateOnlyOnExists(boolean updateOnlyOnExists)
Enable or disable updating only on existence
boolean usePropertyTransferServer()
Check if this property uses a property transfer server
static PropertyType valueOf(String name)
final static PropertyType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PropertyType ALERTS

public static final PropertyType ALERT_HISTORY

public static final PropertyType ALERT_STATUS

public static final PropertyType CONFIGS

public static final PropertyType CONTROLLER

public static final PropertyType CURRENTSTATES

public static final PropertyType ERRORS

public static final PropertyType ERRORS_CONTROLLER

public static final PropertyType EXTERNALVIEW

public static final PropertyType HEALTHREPORT

public static final PropertyType HISTORY

public static final PropertyType IDEALSTATES

public static final PropertyType INSTANCES

public static final PropertyType LEADER

public static final PropertyType LIVEINSTANCES

public static final PropertyType MESSAGES

public static final PropertyType MESSAGES_CONTROLLER

public static final PropertyType PAUSE

public static final PropertyType PERSISTENTSTATS

public static final PropertyType PROPERTYSTORE

public static final PropertyType STATEMODELDEFS

public static final PropertyType STATUSUPDATES

public static final PropertyType STATUSUPDATES_CONTROLLER

Public Methods

public Type getType ()

Gets the type of the associated node

Returns
  • Type

public boolean isCached ()

Check if value is cached

Returns
  • true if cached, false otherwise

public boolean isCreateOnlyIfAbsent ()

Determine if the property should only be created if it does not exist

Returns
  • true if it can only be created if absent, false otherwise

public boolean isMergeOnUpdate ()

Determine if the property is merged or replaced on update

Returns
  • true if merge occurs on update, false otherwise

public boolean isPersistent ()

Get the persistent state of the property

Returns
  • true if persistent, false if ephemeral

public boolean isUpdateOnlyOnExists ()

Determine if this property is only updated if it exists

Returns
  • true if only updated when it exists, false otherwise

public void setCreateIfAbsent (boolean createIfAbsent)

Set policy for creating only if it does not already exist

public void setMergeOnUpdate (boolean mergeOnUpdate)

Enable or disable merging on an update to this property

public void setPersistent (boolean isPersistent)

Set the persistent state of the property

public void setType (Type type)

Set the type of the associated node

Parameters
type Type

public void setUpdateOnlyOnExists (boolean updateOnlyOnExists)

Enable or disable updating only on existence

public boolean usePropertyTransferServer ()

Check if this property uses a property transfer server

Returns
  • true if a property transfer server is used, false otherwise

public static PropertyType valueOf (String name)

public static final PropertyType[] values ()