public interface

HelixLockable

org.apache.helix.lock.HelixLockable

Class Overview

Implemented by any Helix construct that is lockable and is able to return a HelixLock instance

Summary

Public Methods
abstract HelixLock getLock(ClusterId clusterId, Scope<?> scope)
Get a lock object on a scope

Public Methods

public abstract HelixLock getLock (ClusterId clusterId, Scope<?> scope)

Get a lock object on a scope

Parameters
clusterId cluster to lock
scope scope relative to the cluster that the lock protects
Returns
  • HelixLock instance