public class LeaderElectionContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LeaderElectionContext.ContextBuilder |
static class |
LeaderElectionContext.TTYPE
Types of tasks that exactly have one instance in a given warehouse.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
LEADER_IN_TEST |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static Object |
getLeaderMutex(org.apache.hadoop.conf.Configuration conf,
LeaderElectionContext.TTYPE ttype,
String servHost) |
void |
start() |
public static final String LEADER_IN_TEST
public void close()
public static Object getLeaderMutex(org.apache.hadoop.conf.Configuration conf, LeaderElectionContext.TTYPE ttype, String servHost)
Copyright © 2024 The Apache Software Foundation. All rights reserved.