A B C D E F I J K L M N O P R S T V Z 

A

abort() - Method in interface org.apache.mesos.ExecutorDriver
Aborts the driver so that no more callbacks can be made to the executor.
abort() - Method in class org.apache.mesos.MesosExecutorDriver
 
abort() - Method in class org.apache.mesos.MesosSchedulerDriver
 
abort() - Method in interface org.apache.mesos.SchedulerDriver
Aborts the driver so that no more callbacks can be made to the scheduler.
AbstractState - Class in org.apache.mesos.state
Abstract implementation of State that provides operations on futures to make concrete classes easier to create.
AbstractState() - Constructor for class org.apache.mesos.state.AbstractState
 
append(byte[], long, TimeUnit) - Method in class org.apache.mesos.Log.Writer
Attempts to append to the log with the specified data returning the new end position of the log if successful.

B

beginning() - Method in class org.apache.mesos.Log.Reader
Returns the beginning position of the log (might be out of date with respect to another replica).

C

compareTo(Log.Position) - Method in class org.apache.mesos.Log.Position
 

D

data - Variable in class org.apache.mesos.Log.Entry
The data at the given position.
declineOffer(Protos.OfferID) - Method in class org.apache.mesos.MesosSchedulerDriver
 
declineOffer(Protos.OfferID, Protos.Filters) - Method in class org.apache.mesos.MesosSchedulerDriver
 
declineOffer(Protos.OfferID, Protos.Filters) - Method in interface org.apache.mesos.SchedulerDriver
Declines an offer in its entirety and applies the specified filters on the resources (see mesos.proto for a description of Filters).
declineOffer(Protos.OfferID) - Method in interface org.apache.mesos.SchedulerDriver
Declines an offer in its entirety.
disconnected(ExecutorDriver) - Method in interface org.apache.mesos.Executor
Invoked when the executor becomes "disconnected" from the slave (e.g., the slave is being restarted due to an upgrade).
disconnected(SchedulerDriver) - Method in interface org.apache.mesos.Scheduler
Invoked when the scheduler becomes "disconnected" from the master (e.g., the master fails and another is taking over).

E

ending() - Method in class org.apache.mesos.Log.Reader
Returns the ending position of the log (might be out of date with respect to another replica).
equals(Object) - Method in class org.apache.mesos.Log.Position
 
error(ExecutorDriver, String) - Method in interface org.apache.mesos.Executor
Invoked when a fatal error has occurred with the executor and/or executor driver.
error(SchedulerDriver, String) - Method in interface org.apache.mesos.Scheduler
Invoked when there is an unrecoverable error in the scheduler or driver.
Executor - Interface in org.apache.mesos
Callback interface to be implemented by frameworks' executors.
ExecutorDriver - Interface in org.apache.mesos
Abstract interface for connecting an executor to Mesos.
executorLost(SchedulerDriver, Protos.ExecutorID, Protos.SlaveID, int) - Method in interface org.apache.mesos.Scheduler
Invoked when an executor has exited/terminated.
expunge(Variable) - Method in class org.apache.mesos.state.AbstractState
 
expunge(Variable) - Method in class org.apache.mesos.state.InMemoryState
 
expunge(Variable) - Method in interface org.apache.mesos.state.State
Returns true if successfully expunged the variable from the state or false if the variable did not exist or was no longer valid.

F

fetch(String) - Method in class org.apache.mesos.state.AbstractState
 
fetch(String) - Method in class org.apache.mesos.state.InMemoryState
 
fetch(String) - Method in interface org.apache.mesos.state.State
Returns an immutable "variable" representing the current value from the state associated with the specified name.
finalize() - Method in class org.apache.mesos.Log
 
finalize() - Method in class org.apache.mesos.Log.Reader
 
finalize() - Method in class org.apache.mesos.Log.Writer
 
finalize() - Method in class org.apache.mesos.MesosExecutorDriver
 
finalize() - Method in class org.apache.mesos.MesosSchedulerDriver
 
finalize() - Method in class org.apache.mesos.state.AbstractState
 
finalize() - Method in class org.apache.mesos.state.LogState
 
finalize() - Method in class org.apache.mesos.state.Variable
 
frameworkMessage(ExecutorDriver, byte[]) - Method in interface org.apache.mesos.Executor
Invoked when a framework message has arrived for this executor.
frameworkMessage(SchedulerDriver, Protos.ExecutorID, Protos.SlaveID, byte[]) - Method in interface org.apache.mesos.Scheduler
Invoked when an executor sends a message.

I

identity() - Method in class org.apache.mesos.Log.Position
Returns an "identity" of this position, useful for serializing to logs or across communication mediums.
initialize(int, String, Set<String>) - Method in class org.apache.mesos.Log
 
initialize(int, String, String, long, TimeUnit, String) - Method in class org.apache.mesos.Log
 
initialize(int, String, String, long, TimeUnit, String, String, byte[]) - Method in class org.apache.mesos.Log
 
initialize(Log) - Method in class org.apache.mesos.Log.Reader
 
initialize(Log, long, TimeUnit, int) - Method in class org.apache.mesos.Log.Writer
 
initialize() - Method in class org.apache.mesos.MesosExecutorDriver
 
initialize() - Method in class org.apache.mesos.MesosSchedulerDriver
 
initialize(String) - Method in class org.apache.mesos.state.LevelDBState
 
initialize(String, long, TimeUnit, String, long, String, int) - Method in class org.apache.mesos.state.LogState
 
initialize(String, long, TimeUnit, String) - Method in class org.apache.mesos.state.ZooKeeperState
 
initialize(String, long, TimeUnit, String, String, byte[]) - Method in class org.apache.mesos.state.ZooKeeperState
 
InMemoryState - Class in org.apache.mesos.state
An in-memory implementation of state.
InMemoryState() - Constructor for class org.apache.mesos.state.InMemoryState
 

J

join() - Method in interface org.apache.mesos.ExecutorDriver
Waits for the driver to be stopped or aborted, possibly _blocking_ the current thread indefinitely.
join() - Method in class org.apache.mesos.MesosExecutorDriver
 
join() - Method in class org.apache.mesos.MesosSchedulerDriver
 
join() - Method in interface org.apache.mesos.SchedulerDriver
Waits for the driver to be stopped or aborted, possibly blocking the current thread indefinitely.

K

killTask(ExecutorDriver, Protos.TaskID) - Method in interface org.apache.mesos.Executor
Invoked when a task running within this executor has been killed (via SchedulerDriver.killTask(org.apache.mesos.Protos.TaskID)).
killTask(Protos.TaskID) - Method in class org.apache.mesos.MesosSchedulerDriver
 
killTask(Protos.TaskID) - Method in interface org.apache.mesos.SchedulerDriver
Kills the specified task.

L

launchTask(ExecutorDriver, Protos.TaskInfo) - Method in interface org.apache.mesos.Executor
launchTasks(Protos.OfferID, Collection<Protos.TaskInfo>) - Method in class org.apache.mesos.MesosSchedulerDriver
 
launchTasks(Protos.OfferID, Collection<Protos.TaskInfo>, Protos.Filters) - Method in class org.apache.mesos.MesosSchedulerDriver
 
launchTasks(Collection<Protos.OfferID>, Collection<Protos.TaskInfo>) - Method in class org.apache.mesos.MesosSchedulerDriver
 
launchTasks(Collection<Protos.OfferID>, Collection<Protos.TaskInfo>, Protos.Filters) - Method in class org.apache.mesos.MesosSchedulerDriver
 
launchTasks(Collection<Protos.OfferID>, Collection<Protos.TaskInfo>, Protos.Filters) - Method in interface org.apache.mesos.SchedulerDriver
Launches the given set of tasks on a set of offers.
launchTasks(Collection<Protos.OfferID>, Collection<Protos.TaskInfo>) - Method in interface org.apache.mesos.SchedulerDriver
Launches the given set of tasks.
launchTasks(Protos.OfferID, Collection<Protos.TaskInfo>, Protos.Filters) - Method in interface org.apache.mesos.SchedulerDriver
Deprecated.
Use #launchTasks(Collection, Collection, Filters) instead.
launchTasks(Protos.OfferID, Collection<Protos.TaskInfo>) - Method in interface org.apache.mesos.SchedulerDriver
LevelDBState - Class in org.apache.mesos.state
Implementation of State that uses LevelDB to store variables/values.
LevelDBState(String) - Constructor for class org.apache.mesos.state.LevelDBState
Constructs a new instance of LevelDBState.
Log - Class in org.apache.mesos
Provides access to a distributed append only log.
Log(int, String, Set<String>) - Constructor for class org.apache.mesos.Log
Creates a new replicated log that assumes the specified quorum size, is backed by a file at the specified path, and coordiantes with other replicas via the set of process PIDs.
Log(int, String, String, long, TimeUnit, String) - Constructor for class org.apache.mesos.Log
Creates a new replicated log that assumes the specified quorum size, is backed by a file at the specified path, and coordiantes with other replicas associated with the specified ZooKeeper servers, timeout, and znode (or Zookeeper name space).
Log(int, String, String, long, TimeUnit, String, String, byte[]) - Constructor for class org.apache.mesos.Log
Creates a new replicated log that assumes the specified quorum size, is backed by a file at the specified path, and coordiantes with other replicas associated with the specified ZooKeeper servers, timeout, and znode (or Zookeeper name space).
Log.Entry - Class in org.apache.mesos
Represents an opaque data entry in the Log with a Log.Position.
Log.Entry(Log.Position, byte[]) - Constructor for class org.apache.mesos.Log.Entry
Creates a log entry.
Log.OperationFailedException - Exception in org.apache.mesos
An exception that gets thrown when an error occurs while performing a read or write operation.
Log.OperationFailedException(String) - Constructor for exception org.apache.mesos.Log.OperationFailedException
 
Log.OperationFailedException(String, Throwable) - Constructor for exception org.apache.mesos.Log.OperationFailedException
 
Log.Position - Class in org.apache.mesos
An opaque identifier of a log entry's position within the log.
Log.Position(long) - Constructor for class org.apache.mesos.Log.Position
Creates a position identified by an integral value.
Log.Reader - Class in org.apache.mesos
Provides read access to the Log.
Log.Reader(Log) - Constructor for class org.apache.mesos.Log.Reader
Returns an instance of a reader that will access the given instance of the Log.
Log.Writer - Class in org.apache.mesos
Provides write access to the Log.
Log.Writer(Log, long, TimeUnit, int) - Constructor for class org.apache.mesos.Log.Writer
Constructs a writer linked the given Log.
Log.WriterFailedException - Exception in org.apache.mesos
An exception that gets thrown when a writer no longer has the ability to perform operations (e.g., because it was superseded by another writer).
Log.WriterFailedException(String) - Constructor for exception org.apache.mesos.Log.WriterFailedException
 
Log.WriterFailedException(String, Throwable) - Constructor for exception org.apache.mesos.Log.WriterFailedException
 
LogState - Class in org.apache.mesos.state
Implementation of State that uses a replicated log to store variables/values.
LogState(String, long, TimeUnit, String, long, String) - Constructor for class org.apache.mesos.state.LogState
Constructs a new instance of LogState.
LogState(String, long, TimeUnit, String, long, String, int) - Constructor for class org.apache.mesos.state.LogState
Constructs a new instance of LogState.

M

MesosExecutorDriver - Class in org.apache.mesos
Concrete implementation of an ExecutorDriver that connects an Executor with a Mesos slave.
MesosExecutorDriver(Executor) - Constructor for class org.apache.mesos.MesosExecutorDriver
Creates a new driver that uses the specified Executor.
MesosSchedulerDriver - Class in org.apache.mesos
Concrete implementation of a SchedulerDriver that connects a Scheduler with a Mesos master.
MesosSchedulerDriver(Scheduler, Protos.FrameworkInfo, String) - Constructor for class org.apache.mesos.MesosSchedulerDriver
Creates a new driver for the specified scheduler.
MesosSchedulerDriver(Scheduler, Protos.FrameworkInfo, String, Protos.Credential) - Constructor for class org.apache.mesos.MesosSchedulerDriver
Same as the above constructor, except that it accepts 'credential' as a parameter.
mutate(byte[]) - Method in class org.apache.mesos.state.Variable
Updates the current value of this variable.

N

names() - Method in class org.apache.mesos.state.AbstractState
 
names() - Method in class org.apache.mesos.state.InMemoryState
 
names() - Method in interface org.apache.mesos.state.State
Returns an iterator of variable names in the state.

O

offerRescinded(SchedulerDriver, Protos.OfferID) - Method in interface org.apache.mesos.Scheduler
Invoked when an offer is no longer valid (e.g., the slave was lost or another framework used resources in the offer).
org.apache.mesos - package org.apache.mesos
 
org.apache.mesos.state - package org.apache.mesos.state
 

P

position - Variable in class org.apache.mesos.Log.Entry
The position of this entry.
position(byte[]) - Method in class org.apache.mesos.Log
Returns a position based off of the bytes recovered from Position.identity().

R

read(Log.Position, Log.Position, long, TimeUnit) - Method in class org.apache.mesos.Log.Reader
Attempts to read from the log between the specified positions (inclusive).
reconcileTasks(Collection<Protos.TaskStatus>) - Method in class org.apache.mesos.MesosSchedulerDriver
 
reconcileTasks(Collection<Protos.TaskStatus>) - Method in interface org.apache.mesos.SchedulerDriver
Allows the framework to query the status for non-terminal tasks.
registered(ExecutorDriver, Protos.ExecutorInfo, Protos.FrameworkInfo, Protos.SlaveInfo) - Method in interface org.apache.mesos.Executor
Invoked once the executor driver has been able to successfully connect with Mesos.
registered(SchedulerDriver, Protos.FrameworkID, Protos.MasterInfo) - Method in interface org.apache.mesos.Scheduler
Invoked when the scheduler successfully registers with a Mesos master.
requestResources(Collection<Protos.Request>) - Method in class org.apache.mesos.MesosSchedulerDriver
 
requestResources(Collection<Protos.Request>) - Method in interface org.apache.mesos.SchedulerDriver
Requests resources from Mesos (see mesos.proto for a description of Request and how, for example, to request resources from specific slaves).
reregistered(ExecutorDriver, Protos.SlaveInfo) - Method in interface org.apache.mesos.Executor
Invoked when the executor re-registers with a restarted slave.
reregistered(SchedulerDriver, Protos.MasterInfo) - Method in interface org.apache.mesos.Scheduler
Invoked when the scheduler re-registers with a newly elected Mesos master.
resourceOffers(SchedulerDriver, List<Protos.Offer>) - Method in interface org.apache.mesos.Scheduler
Invoked when resources have been offered to this framework.
reviveOffers() - Method in class org.apache.mesos.MesosSchedulerDriver
 
reviveOffers() - Method in interface org.apache.mesos.SchedulerDriver
run() - Method in interface org.apache.mesos.ExecutorDriver
Starts and immediately joins (i.e., blocks on) the driver.
run() - Method in class org.apache.mesos.MesosExecutorDriver
 
run() - Method in class org.apache.mesos.MesosSchedulerDriver
 
run() - Method in interface org.apache.mesos.SchedulerDriver
Starts and immediately joins (i.e., blocks on) the driver.

S

Scheduler - Interface in org.apache.mesos
Callback interface to be implemented by frameworks' schedulers.
SchedulerDriver - Interface in org.apache.mesos
Abstract interface for connecting a scheduler to Mesos.
sendFrameworkMessage(byte[]) - Method in interface org.apache.mesos.ExecutorDriver
Sends a message to the framework scheduler.
sendFrameworkMessage(byte[]) - Method in class org.apache.mesos.MesosExecutorDriver
 
sendFrameworkMessage(Protos.ExecutorID, Protos.SlaveID, byte[]) - Method in class org.apache.mesos.MesosSchedulerDriver
 
sendFrameworkMessage(Protos.ExecutorID, Protos.SlaveID, byte[]) - Method in interface org.apache.mesos.SchedulerDriver
Sends a message from the framework to one of its executors.
sendStatusUpdate(Protos.TaskStatus) - Method in interface org.apache.mesos.ExecutorDriver
Sends a status update to the framework scheduler, retrying as necessary until an acknowledgement has been received or the executor is terminated (in which case, a TASK_LOST status update will be sent).
sendStatusUpdate(Protos.TaskStatus) - Method in class org.apache.mesos.MesosExecutorDriver
 
shutdown(ExecutorDriver) - Method in interface org.apache.mesos.Executor
Invoked when the executor should terminate all of it's currently running tasks.
slaveLost(SchedulerDriver, Protos.SlaveID) - Method in interface org.apache.mesos.Scheduler
Invoked when a slave has been determined unreachable (e.g., machine failure, network partition).
start() - Method in interface org.apache.mesos.ExecutorDriver
Starts the executor driver.
start() - Method in class org.apache.mesos.MesosExecutorDriver
See ExecutorDriver for descriptions of these.
start() - Method in class org.apache.mesos.MesosSchedulerDriver
 
start() - Method in interface org.apache.mesos.SchedulerDriver
Starts the scheduler driver.
State - Interface in org.apache.mesos.state
An abstraction of "state" (possibly between multiple distributed components) represented by "variables" (effectively key/value pairs).
statusUpdate(SchedulerDriver, Protos.TaskStatus) - Method in interface org.apache.mesos.Scheduler
Invoked when the status of a task has changed (e.g., a slave is lost and so the task is lost, a task finishes and an executor sends a status update saying so, etc).
stop() - Method in interface org.apache.mesos.ExecutorDriver
Stops the executor driver.
stop() - Method in class org.apache.mesos.MesosExecutorDriver
 
stop(boolean) - Method in class org.apache.mesos.MesosSchedulerDriver
 
stop() - Method in class org.apache.mesos.MesosSchedulerDriver
 
stop(boolean) - Method in interface org.apache.mesos.SchedulerDriver
Stops the scheduler driver.
stop() - Method in interface org.apache.mesos.SchedulerDriver
Stops the scheduler driver assuming no failover.
store(Variable) - Method in class org.apache.mesos.state.AbstractState
 
store(Variable) - Method in class org.apache.mesos.state.InMemoryState
 
store(Variable) - Method in interface org.apache.mesos.state.State
Returns an immutable "variable" representing the current value in the state if updating the specified variable in the state was successful, otherwise returns null.

T

toString() - Method in class org.apache.mesos.Log.Position
 
truncate(Log.Position, long, TimeUnit) - Method in class org.apache.mesos.Log.Writer
Attempts to truncate the log (from the beginning to the specified position exclusive) If the position is invalid, an Log.WriterFailedException will get thrown.

V

value() - Method in class org.apache.mesos.state.Variable
Returns the current value of this variable.
Variable - Class in org.apache.mesos.state
Represents a key/value pair stored in the State.
Variable() - Constructor for class org.apache.mesos.state.Variable
 

Z

ZooKeeperState - Class in org.apache.mesos.state
Implementation of State that uses ZooKeeper to store variables/values.
ZooKeeperState(String, long, TimeUnit, String) - Constructor for class org.apache.mesos.state.ZooKeeperState
Constructs a new instance of ZooKeeperState.
ZooKeeperState(String, long, TimeUnit, String, String, byte[]) - Constructor for class org.apache.mesos.state.ZooKeeperState
Constructs a new instance of ZooKeeperState.
A B C D E F I J K L M N O P R S T V Z 

Copyright © 2014 The Apache Software Foundation. All Rights Reserved.