Package | Description |
---|---|
org.apache.twill.api |
Classes in this package provides core functionality of the Twill library.
|
Modifier and Type | Method and Description |
---|---|
Cancellable |
TwillContext.electLeader(String name,
ElectionHandler participantHandler)
Register to participate in a leader election by instances within the same
TwillApplication . |
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.