Uses of Class
org.glassfish.grizzly.IOEvent
-
Packages that use IOEvent Package Description org.glassfish.grizzly org.glassfish.grizzly.filterchain org.glassfish.grizzly.nio org.glassfish.grizzly.nio.transport org.glassfish.grizzly.strategies -
-
Uses of IOEvent in org.glassfish.grizzly
Fields in org.glassfish.grizzly declared as IOEvent Modifier and Type Field Description protected IOEventContext. ioEventProcessing IOEventMethods in org.glassfish.grizzly that return IOEvent Modifier and Type Method Description IOEventContext. getIoEvent()Get the processingIOEvent.static IOEventIOEvent. valueOf(String name)Returns the enum constant of this type with the specified name.static IOEvent[]IOEvent. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.glassfish.grizzly with parameters of type IOEvent Modifier and Type Method Description static 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 theConnectionExecutorIOStrategy. 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.ProcessorAbstractTransport. obtainProcessor(IOEvent ioEvent, Connection connection)Gets the defaultProcessor, which will process TransportConnections I/O events in case, ifConnectiondoesn't have ownProcessorpreferences.ProcessorConnection. obtainProcessor(IOEvent ioEvent)Gets theProcessor, which will processConnectionI/O event.ProcessorTransport. 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.ProcessorChainProcessorSelector. select(IOEvent ioEvent, Connection connection)SelectsProcessor, which will process connection event.ProcessorDefaultProcessorSelector. select(IOEvent ioEvent, Connection connection)SelectsProcessor, which will process connection event.ProcessorProcessorSelector. select(IOEvent ioEvent, Connection connection)SelectsProcessor, which will process connection event.ProcessorStandaloneProcessorSelector. 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 IOEvent Modifier and Type Field Description protected EnumSet<IOEvent>AbstractFilterChain. interestedIoEventsMaskMethods in org.glassfish.grizzly.filterchain with parameters of type IOEvent Modifier and Type Method Description booleanAbstractFilterChain. isInterested(IOEvent ioEvent)Is thisProcessorinterested in processing the i/o eventProcessorFilterChainProcessorSelector. 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 IOEvent Modifier and Type Method Description IOEvent[]DefaultSelectionKeyHandler. getIOEvents(int interest)IOEvent[]SelectionKeyHandler. getIOEvents(int interest)IOEventDefaultSelectionKeyHandler. selectionKeyInterest2IoEvent(int selectionKeyInterest)IOEventSelectionKeyHandler. selectionKeyInterest2IoEvent(int selectionKeyInterest)Methods in org.glassfish.grizzly.nio with parameters of type IOEvent Modifier and Type Method Description voidNIOConnection. disableIOEvent(IOEvent ioEvent)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.ProcessorNIOConnection. 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 IOEvent Modifier and Type Method Description voidTCPNIOTransport. 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 IOEvent Modifier and Type Method Description 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)ExecutorAbstractIOStrategy. getThreadPoolFor(Connection connection, IOEvent ioEvent)ExecutorSameThreadIOStrategy. getThreadPoolFor(Connection connection, IOEvent ioEvent)ExecutorSimpleDynamicNIOStrategy. getThreadPoolFor(Connection connection, IOEvent ioEvent)protected static booleanAbstractIOStrategy. isReadWrite(IOEvent ioEvent)
-