Class AbstractResourceEventSource<R,P extends io.fabric8.kubernetes.api.model.HasMetadata>
java.lang.Object
cn.sliew.milky.common.lifecycle.AbstractLifeCycle
cn.sliew.carp.module.kubernetes.watch.source.event.source.AbstractEventSource
cn.sliew.carp.module.kubernetes.watch.source.event.source.AbstractResourceEventSource<R,P>
- All Implemented Interfaces:
EventSource,ResourceEventSource<R,,P> cn.sliew.milky.common.lifecycle.LifeCycle
- Direct Known Subclasses:
BatchPollEventSource,InfomerEventSource,PerPollEventSource
public abstract class AbstractResourceEventSource<R,P extends io.fabric8.kubernetes.api.model.HasMetadata>
extends AbstractEventSource
implements ResourceEventSource<R,P>
-
Nested Class Summary
Nested classes/interfaces inherited from interface cn.sliew.milky.common.lifecycle.LifeCycle
cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleResult, cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleSupportResult, cn.sliew.milky.common.lifecycle.LifeCycle.State -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
addLifeCycleListener, doInitialize, doStart, doStop, getState, initialize, isStarted, isStopped, removeLifeCycleListener, start, stop, stop, supportInitialize, supportStart, supportStopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.sliew.milky.common.lifecycle.LifeCycle
addLifeCycleListener, getState, initialize, isStarted, isStopped, removeLifeCycleListener, start, stop, stop, supportInitialize, supportStart, supportStop
-
Constructor Details
-
AbstractResourceEventSource
-
-
Method Details
-
getResourceType
- Specified by:
getResourceTypein interfaceResourceEventSource<R,P extends io.fabric8.kubernetes.api.model.HasMetadata>
-