public class ServiceStateZipper extends AbstractStateZipper<Service,LifecycleState>
Calculates a merged state for all registered services.
| Constructor and Description |
|---|
ServiceStateZipper(LifecycleState initial) |
| Modifier and Type | Method and Description |
|---|---|
protected LifecycleState |
zipWith(Collection<LifecycleState> states)
The zip function to map from N states to one that represents the state of the zipper.
|
currentStates, currentSubscriptions, deregister, register, terminatehasSubscribers, isState, state, states, transitionStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasSubscribers, isState, state, statespublic ServiceStateZipper(LifecycleState initial)
protected LifecycleState zipWith(Collection<LifecycleState> states)
AbstractStateZipperThe zip function to map from N states to one that represents the state of the zipper.
zipWith in class AbstractStateZipper<Service,LifecycleState>states - all subscribed states.Copyright © 2016 Couchbase, Inc.. All rights reserved.