Uses of Interface
org.eclipse.jetty.util.component.LifeCycle
-
Packages that use LifeCycle Package Description org.eclipse.jetty.util Jetty Util : Common Utility Classesorg.eclipse.jetty.util.component Jetty Util : Jetty Lifecycle Managementorg.eclipse.jetty.util.compression org.eclipse.jetty.util.preventers Jetty Util : Common Memory Leak Prevention Toolingorg.eclipse.jetty.util.ssl Jetty Util : Common SSL Utility Classesorg.eclipse.jetty.util.thread Jetty Util : Common ThreadPool Utilitiesorg.eclipse.jetty.util.thread.strategy -
-
Uses of LifeCycle in org.eclipse.jetty.util
Classes in org.eclipse.jetty.util that implement LifeCycle Modifier and Type Class Description classLeakDetector<T>A facility to detect improper usage of resource pools.classPathWatcherWatch a Path (and sub directories) for Path changes.classScannerScanner Utility for scanning a directory for added, removed and changed files and reporting these events via registered Listeners. -
Uses of LifeCycle in org.eclipse.jetty.util.component
Classes in org.eclipse.jetty.util.component that implement LifeCycle Modifier and Type Class Description classAbstractLifeCycleBasic implementation of the life cycle interface for components.classAttributeContainerMapAn Attributes implementation that holds it's values in an immutableContainerLifeCycleclassContainerLifeCycleA ContainerLifeCycle is anLifeCycleimplementation for a collection of contained beans.classStopLifeCycleA LifeCycle that when started will stop another LifeCycleMethods in org.eclipse.jetty.util.component with parameters of type LifeCycle Modifier and Type Method Description voidContainerLifeCycle. addManaged(LifeCycle lifecycle)Adds a managed lifecycle.static java.lang.StringAbstractLifeCycle. getState(LifeCycle lc)voidAbstractLifeCycle.AbstractLifeCycleListener. lifeCycleFailure(LifeCycle event, java.lang.Throwable cause)voidFileNoticeLifeCycleListener. lifeCycleFailure(LifeCycle event, java.lang.Throwable cause)voidLifeCycle.Listener. lifeCycleFailure(LifeCycle event, java.lang.Throwable cause)voidStopLifeCycle. lifeCycleFailure(LifeCycle lifecycle, java.lang.Throwable cause)voidAbstractLifeCycle.AbstractLifeCycleListener. lifeCycleStarted(LifeCycle event)voidFileNoticeLifeCycleListener. lifeCycleStarted(LifeCycle event)voidLifeCycle.Listener. lifeCycleStarted(LifeCycle event)voidStopLifeCycle. lifeCycleStarted(LifeCycle lifecycle)voidAbstractLifeCycle.AbstractLifeCycleListener. lifeCycleStarting(LifeCycle event)voidFileNoticeLifeCycleListener. lifeCycleStarting(LifeCycle event)voidLifeCycle.Listener. lifeCycleStarting(LifeCycle event)voidStopLifeCycle. lifeCycleStarting(LifeCycle lifecycle)voidAbstractLifeCycle.AbstractLifeCycleListener. lifeCycleStopped(LifeCycle event)voidFileNoticeLifeCycleListener. lifeCycleStopped(LifeCycle event)voidLifeCycle.Listener. lifeCycleStopped(LifeCycle event)voidStopLifeCycle. lifeCycleStopped(LifeCycle lifecycle)voidAbstractLifeCycle.AbstractLifeCycleListener. lifeCycleStopping(LifeCycle event)voidFileNoticeLifeCycleListener. lifeCycleStopping(LifeCycle event)voidLifeCycle.Listener. lifeCycleStopping(LifeCycle event)voidStopLifeCycle. lifeCycleStopping(LifeCycle lifecycle)protected voidContainerLifeCycle. start(LifeCycle l)Starts the given lifecycle.protected voidContainerLifeCycle. stop(LifeCycle l)Stops the given lifecycle.Constructors in org.eclipse.jetty.util.component with parameters of type LifeCycle Constructor Description StopLifeCycle(LifeCycle lifecycle) -
Uses of LifeCycle in org.eclipse.jetty.util.compression
Classes in org.eclipse.jetty.util.compression that implement LifeCycle Modifier and Type Class Description classCompressionPool<T>classDeflaterPoolclassInflaterPool -
Uses of LifeCycle in org.eclipse.jetty.util.preventers
Classes in org.eclipse.jetty.util.preventers that implement LifeCycle Modifier and Type Class Description classAbstractLeakPreventerAbstractLeakPreventer Abstract base class for code that seeks to avoid pinning of webapp classloaders by using the jetty classloader to proactively call the code that pins them (generally pinned as static data members, or as static data members that are daemon threads (which use the context classloader)).classAppContextLeakPreventerAppContextLeakPreventer Cause the classloader that is pinned by AppContext.getAppContext() to be a container or system classloader, not a webapp classloader.classAWTLeakPreventerAWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit.classDOMLeakPreventerDOMLeakPreventer See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6916498 Prevent the RuntimeException that is a static member of AbstractDOMParser from pinning a webapp classloader by causing it to be set here by a non-webapp classloader.classDriverManagerLeakPreventerDriverManagerLeakPreventer Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.classGCThreadLeakPreventerGCThreadLeakPreventer Prevents a call to sun.misc.GC.requestLatency pinning a webapp classloader by calling it with a non-webapp classloader.classJava2DLeakPreventerJava2DLeakPreventer Prevent pinning of webapp classloader by pre-loading sun.java2d.Disposer class before webapp classloaders are created.classLDAPLeakPreventerLDAPLeakPreventer If com.sun.jndi.LdapPoolManager class is loaded and the system property com.sun.jndi.ldap.connect.pool.timeout is set to a nonzero value, a daemon thread is started which can pin a webapp classloader if it is the first to load the LdapPoolManager.classLoginConfigurationLeakPreventerLoginConfigurationLeakPreventer The javax.security.auth.login.Configuration class keeps a static reference to the thread context classloader.classSecurityProviderLeakPreventerSecurityProviderLeakPreventer Some security providers, such as sun.security.pkcs11.SunPKCS11 start a deamon thread, which will use the thread context classloader. -
Uses of LifeCycle in org.eclipse.jetty.util.ssl
Classes in org.eclipse.jetty.util.ssl that implement LifeCycle Modifier and Type Class Description classKeyStoreScannerTheKeyStoreScanneris used to monitor the KeyStore file used by theSslContextFactory.classSslContextFactorySslContextFactory is used to configure SSL parameters to be used by server and client connectors.static classSslContextFactory.Clientstatic classSslContextFactory.Server -
Uses of LifeCycle in org.eclipse.jetty.util.thread
Subinterfaces of LifeCycle in org.eclipse.jetty.util.thread Modifier and Type Interface Description interfaceSchedulerClasses in org.eclipse.jetty.util.thread that implement LifeCycle Modifier and Type Class Description classExecutorSizedThreadPoolDeprecated.classExecutorThreadPoolAThreadPool.SizedThreadPoolwrapper aroundThreadPoolExecutor.classMonitoredQueuedThreadPoolAQueuedThreadPoolsubclass that monitors its own activity by recording queue and task statistics.classQueuedThreadPoolclassReservedThreadExecutorAn Executor using preallocated/reserved Threads from a wrapped Executor.classScheduledExecutorSchedulerImplementation ofSchedulerbased on JDK'sScheduledThreadPoolExecutor.classSweeperA utility class to perform periodic sweeping of resources.classTimerSchedulerA scheduler based on the the JVM Timer classMethods in org.eclipse.jetty.util.thread with parameters of type LifeCycle Modifier and Type Method Description static voidShutdownThread. deregister(LifeCycle lifeCycle)static booleanShutdownThread. isRegistered(LifeCycle lifeCycle)static voidShutdownThread. register(int index, LifeCycle... lifeCycles)static voidShutdownThread. register(LifeCycle... lifeCycles) -
Uses of LifeCycle in org.eclipse.jetty.util.thread.strategy
Classes in org.eclipse.jetty.util.thread.strategy that implement LifeCycle Modifier and Type Class Description classEatWhatYouKillA strategy where the thread that produces will run the resulting task if it is possible to do so without thread starvation.
-