public static class

LogicalModelExample.LockUnlockFactory

extends HelixStateModelFactory<T extends StateModel>
java.lang.Object
   ↳ org.apache.helix.participant.statemachine.HelixStateModelFactory<T extends org.apache.helix.participant.statemachine.StateModel>
     ↳ org.apache.helix.examples.LogicalModelExample.LockUnlockFactory

Class Overview

State model factory for lock-unlock

Summary

Public Constructors
LogicalModelExample.LockUnlockFactory()
Public Methods
LogicalModelExample.LockUnlockStateModel createNewStateModel(PartitionId partitionId)
This method will be invoked only once per partition per session
[Expand]
Inherited Methods
From class org.apache.helix.participant.statemachine.HelixStateModelFactory
From class java.lang.Object

Public Constructors

public LogicalModelExample.LockUnlockFactory ()

Public Methods

public LogicalModelExample.LockUnlockStateModel createNewStateModel (PartitionId partitionId)

This method will be invoked only once per partition per session