object AutoScaler
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AutoScaler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- sealed trait Action extends AnyRef
- case class Conf(period: FiniteDuration, slidingWindowSize: Int, maxFreeWorkers: Long, minFreeWorkers: Long, slotIncrementStep: Long, slotDecrementStep: Long) extends Product with Serializable
- case class OperationState(maxJobs: Long, runningJobs: Long, plannedJobs: Long) extends Product with Serializable
- case class SetUserSlot(count: Long) extends Action with Product with Serializable
- case class SparkState(maxWorkers: Long, busyWorkers: Long, waitingApps: Long, coresTotal: Long, coresUsed: Long, maxAppAwaitTimeMs: Long) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def autoScaleFunctionBasic(conf: Conf): (State) ⇒ Action
- def autoScaleFunctionSliding(conf: Conf)(f: (State) ⇒ Action): (Seq[Action], State) ⇒ (Seq[Action], Action)
- def autoScaler[T](clusterStateService: ClusterStateService, zero: T)(f: (T, State) ⇒ (T, Action)): AutoScaler
- def build(conf: Conf, discoveryService: DiscoveryService, yt: CompoundClient): AutoScaler
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jobsToStop(clusterStateService: ClusterStateService, currentSlots: Long, newSlots: Long): Set[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def start(autoScaler: AutoScaler, c: Conf, metricRegistry: MetricRegistry): Closeable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Conf extends Serializable
- object DoNothing extends Action with Product with Serializable
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated