public class

LockFactory

extends StateTransitionHandlerFactory<T extends TransitionHandler>
java.lang.Object
   ↳ org.apache.helix.api.StateTransitionHandlerFactory<T extends org.apache.helix.api.TransitionHandler>
     ↳ org.apache.helix.userdefinedrebalancer.LockFactory

Class Overview

This factory allows a participant to get the appropriate state model callbacks for the lock manager state model. This is used exactly once per participant to get a valid instance of a Lock, and then the same Lock instance is used for all state transition callbacks.

Summary

Public Constructors
LockFactory()
Public Methods
Lock createStateTransitionHandler(PartitionId partitionId)
This method will be invoked only once per partition per session
[Expand]
Inherited Methods
From class org.apache.helix.api.StateTransitionHandlerFactory
From class java.lang.Object

Public Constructors

public LockFactory ()

Public Methods

public Lock createStateTransitionHandler (PartitionId partitionId)

This method will be invoked only once per partition per session