public static class MasterProcedureScheduler.ProcedureEvent extends Object
Modifier and Type | Field and Description |
---|---|
private String |
description |
private boolean |
ready |
private MasterProcedureScheduler.Queue<ServerName> |
waitingServers |
private MasterProcedureScheduler.Queue<TableName> |
waitingTables |
Constructor and Description |
---|
MasterProcedureScheduler.ProcedureEvent(String description) |
Modifier and Type | Method and Description |
---|---|
private boolean |
hasWaitingServers() |
private boolean |
hasWaitingTables() |
boolean |
isReady() |
private MasterProcedureScheduler.Queue<ServerName> |
popWaitingServer() |
private MasterProcedureScheduler.Queue<TableName> |
popWaitingTable() |
private void |
setReady(boolean isReady) |
private void |
suspendServerQueue(MasterProcedureScheduler.Queue<ServerName> queue) |
private void |
suspendTableQueue(MasterProcedureScheduler.Queue<TableName> queue) |
String |
toString() |
private final String description
private MasterProcedureScheduler.Queue<ServerName> waitingServers
private MasterProcedureScheduler.Queue<TableName> waitingTables
private boolean ready
public MasterProcedureScheduler.ProcedureEvent(String description)
public boolean isReady()
private void setReady(boolean isReady)
private void suspendTableQueue(MasterProcedureScheduler.Queue<TableName> queue)
private void suspendServerQueue(MasterProcedureScheduler.Queue<ServerName> queue)
private boolean hasWaitingTables()
private MasterProcedureScheduler.Queue<TableName> popWaitingTable()
private boolean hasWaitingServers()
private MasterProcedureScheduler.Queue<ServerName> popWaitingServer()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.