Dependency

public interface Dependency
Known Indirect Subclasses

Represents dependency to be used with PriorityThreadPoolExecutor

Public Method Summary

abstract void
addDependency(T dependable)
Assign dependency on specified T.
abstract boolean
areDependenciesMet()
Returns true when the dependencies have been met
abstract Collection<T>
getDependencies()
fulfilled before the Dependency instance.

Public Methods

public abstract void addDependency (T dependable)

Assign dependency on specified T.

Parameters
dependable

public abstract boolean areDependenciesMet ()

Returns true when the dependencies have been met

public abstract Collection<T> getDependencies ()

fulfilled before the Dependency instance.

Returns
  • Collection of T to be fulfilled before the Dependency instance.