Uses of Enum Class
org.glassfish.grizzly.IOEvent
Packages that use IOEvent
Package
Description
-
Uses of IOEvent in org.glassfish.grizzly
Fields in org.glassfish.grizzly declared as IOEventMethods in org.glassfish.grizzly that return IOEventModifier and TypeMethodDescriptionContext.getIoEvent()Get the processingIOEvent.static IOEventReturns the enum constant of this class with the specified name.static IOEvent[]IOEvent.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.glassfish.grizzly with parameters of type IOEventModifier and TypeMethodDescriptionstatic ContextContext.create(Connection connection, Processor processor, IOEvent ioEvent, IOEventLifeCycleListener lifeCycleListener) voidConnection.disableIOEvent(IOEvent ioEvent) voidConnection.enableIOEvent(IOEvent ioEvent) static voidProcessorExecutor.execute(Connection connection, IOEvent ioEvent, Processor processor, IOEventLifeCycleListener lifeCycleListener) voidConnection.executeInEventThread(IOEvent event, Runnable runnable) Executes theRunnablein the thread, responsible for running the given type of event on this Connection.booleanIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent) TheSelectorRunnerwill invoke this method to allow the strategy implementation to decide how theIOEventwill be handled.booleanIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) TheSelectorRunnerwill invoke this method to allow the strategy implementation to decide how theIOEventwill be handled.voidTransport.fireIOEvent(IOEvent ioEvent, Connection connection, IOEventLifeCycleListener listener) Fires specificIOEventon theConnectionIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) Returns anExecutorto be used to run given ioEvent processing for the given connection.booleanProcessor.isInterested(IOEvent ioEvent) Is thisProcessorinterested in processing the i/o eventbooleanStandaloneProcessor.isInterested(IOEvent ioEvent) StandaloneProcessoris not interested in anyIOEvent.AbstractTransport.obtainProcessor(IOEvent ioEvent, Connection connection) Gets the defaultProcessor, which will process TransportConnections I/O events in case, ifConnectiondoesn't have ownProcessorpreferences.Connection.obtainProcessor(IOEvent ioEvent) Gets theProcessor, which will processConnectionI/O event.Transport.obtainProcessor(IOEvent ioEvent, Connection connection) Gets the defaultProcessor, which will process TransportConnections I/O events in case, ifConnectiondoesn't have ownProcessorpreferences.voidConnectionProbe.Adapter.onIOEventDisableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets disabled.voidConnectionProbe.onIOEventDisableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets disabled.voidConnectionProbe.Adapter.onIOEventEnableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets enabled.voidConnectionProbe.onIOEventEnableEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets enabled.voidConnectionProbe.Adapter.onIOEventReadyEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets ready.voidConnectionProbe.onIOEventReadyEvent(Connection connection, IOEvent ioEvent) Method will be called, whenIOEventfor the specificConnectiongets ready.ChainProcessorSelector.select(IOEvent ioEvent, Connection connection) SelectsProcessor, which will process connection event.DefaultProcessorSelector.select(IOEvent ioEvent, Connection connection) SelectsProcessor, which will process connection event.ProcessorSelector.select(IOEvent ioEvent, Connection connection) SelectsProcessor, which will process connection event.StandaloneProcessorSelector.select(IOEvent ioEvent, Connection connection) voidProcessor.setInterested(IOEvent ioEvent, boolean isInterested) Set the the i/o event, thisProcessoris interested invoidStandaloneProcessor.setInterested(IOEvent ioEvent, boolean isInterested) Method does nothing.voidContext.setIoEvent(IOEvent ioEvent) Set the processingIOEvent.voidConnection.simulateIOEvent(IOEvent ioEvent) -
Uses of IOEvent in org.glassfish.grizzly.filterchain
Fields in org.glassfish.grizzly.filterchain with type parameters of type IOEventMethods in org.glassfish.grizzly.filterchain with parameters of type IOEventModifier and TypeMethodDescriptionbooleanAbstractFilterChain.isInterested(IOEvent ioEvent) Is thisProcessorinterested in processing the i/o eventFilterChainProcessorSelector.select(IOEvent ioEvent, Connection connection) ReturnsFilterChaininstance, if it's interested in processing passedIOEvent, or null otherwise.voidAbstractFilterChain.setInterested(IOEvent ioEvent, boolean isInterested) Set the the i/o event, thisProcessoris interested in -
Uses of IOEvent in org.glassfish.grizzly.nio
Methods in org.glassfish.grizzly.nio that return IOEventModifier and TypeMethodDescriptionIOEvent[]DefaultSelectionKeyHandler.getIOEvents(int interest) IOEvent[]SelectionKeyHandler.getIOEvents(int interest) DefaultSelectionKeyHandler.selectionKeyInterest2IoEvent(int selectionKeyInterest) SelectionKeyHandler.selectionKeyInterest2IoEvent(int selectionKeyInterest) Methods in org.glassfish.grizzly.nio with parameters of type IOEventModifier and TypeMethodDescriptionfinal voidNIOConnection.disableIOEvent(IOEvent ioEvent) final voidNIOConnection.enableIOEvent(IOEvent ioEvent) voidNIOConnection.executeInEventThread(IOEvent event, Runnable runnable) intDefaultSelectionKeyHandler.ioEvent2SelectionKeyInterest(IOEvent ioEvent) intSelectionKeyHandler.ioEvent2SelectionKeyInterest(IOEvent ioEvent) protected static voidNIOConnection.notifyIOEventDisabled(NIOConnection connection, IOEvent ioEvent) Notify registeredConnectionProbes about the IO Event disabled event.protected static voidNIOConnection.notifyIOEventEnabled(NIOConnection connection, IOEvent ioEvent) Notify registeredConnectionProbes about the IO Event enabled event.protected static voidNIOConnection.notifyIOEventReady(NIOConnection connection, IOEvent ioEvent) Notify registeredConnectionProbes about the IO Event ready event.NIOConnection.obtainProcessor(IOEvent ioEvent) voidNIOConnection.simulateIOEvent(IOEvent ioEvent) -
Uses of IOEvent in org.glassfish.grizzly.nio.transport
Methods in org.glassfish.grizzly.nio.transport with parameters of type IOEventModifier and TypeMethodDescriptionvoidTCPNIOTransport.fireIOEvent(IOEvent ioEvent, Connection connection, IOEventLifeCycleListener listener) voidUDPNIOTransport.fireIOEvent(IOEvent ioEvent, Connection connection, IOEventLifeCycleListener listener) -
Uses of IOEvent in org.glassfish.grizzly.strategies
Methods in org.glassfish.grizzly.strategies with parameters of type IOEventModifier and TypeMethodDescriptionfinal booleanAbstractIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent) booleanLeaderFollowerNIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) booleanSameThreadIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) booleanSimpleDynamicNIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent) booleanSimpleDynamicNIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) booleanWorkerThreadIOStrategy.executeIoEvent(Connection connection, IOEvent ioEvent, boolean isIoEventEnabled) protected static voidAbstractIOStrategy.fireIOEvent(Connection connection, IOEvent ioEvent, IOEventLifeCycleListener listener, Logger logger) AbstractIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) SameThreadIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) SimpleDynamicNIOStrategy.getThreadPoolFor(Connection connection, IOEvent ioEvent) protected static booleanAbstractIOStrategy.isReadWrite(IOEvent ioEvent)