Package | Description |
---|---|
org.glassfish.grizzly | |
org.glassfish.grizzly.filterchain | |
org.glassfish.grizzly.nio | |
org.glassfish.grizzly.nio.transport | |
org.glassfish.grizzly.strategies |
Modifier and Type | Field and Description |
---|---|
protected IOEvent |
Context.ioEvent
Processing IOEvent
|
Modifier and Type | Method and Description |
---|---|
IOEvent |
Context.getIoEvent()
Get the processing
IOEvent . |
static IOEvent |
IOEvent.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.
|
Modifier and Type | Method and Description |
---|---|
static Context |
Context.create(Connection connection,
Processor processor,
IOEvent ioEvent,
IOEventProcessingHandler processingHandler) |
void |
Connection.disableIOEvent(IOEvent ioEvent) |
void |
Connection.enableIOEvent(IOEvent ioEvent) |
static void |
ProcessorExecutor.execute(Connection connection,
IOEvent ioEvent,
Processor processor,
IOEventProcessingHandler processingHandler) |
boolean |
IOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent)
The
SelectorRunner will invoke this
method to allow the strategy implementation to decide how the
IOEvent will be handled. |
boolean |
IOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent,
boolean isIoEventEnabled)
The
SelectorRunner will invoke this
method to allow the strategy implementation to decide how the
IOEvent will be handled. |
void |
Transport.fireIOEvent(IOEvent ioEvent,
Connection connection,
IOEventProcessingHandler processingHandler)
Fires specific
IOEvent on the Connection |
boolean |
StandaloneProcessor.isInterested(IOEvent ioEvent)
StandaloneProcessor is not interested in any IOEvent . |
boolean |
Processor.isInterested(IOEvent ioEvent)
Is this
Processor interested in processing the i/o event |
Processor |
Connection.obtainProcessor(IOEvent ioEvent)
Gets the
Processor , which will process Connection
I/O event. |
Processor |
Transport.obtainProcessor(IOEvent ioEvent,
Connection connection)
Gets the default
Processor , which will process Transport
Connection s I/O events in case, if Connection
doesn't have own Processor preferences. |
Processor |
AbstractTransport.obtainProcessor(IOEvent ioEvent,
Connection connection)
Gets the default
Processor , which will process Transport
Connection s I/O events in case, if Connection
doesn't have own Processor preferences. |
void |
ConnectionProbe.onIOEventDisableEvent(Connection connection,
IOEvent ioEvent)
Method will be called, when
IOEvent for the specific
Connection gets disabled. |
void |
ConnectionProbe.Adapter.onIOEventDisableEvent(Connection connection,
IOEvent ioEvent)
Method will be called, when
IOEvent for the specific
Connection gets disabled. |
void |
ConnectionProbe.onIOEventEnableEvent(Connection connection,
IOEvent ioEvent)
Method will be called, when
IOEvent for the specific
Connection gets enabled. |
void |
ConnectionProbe.Adapter.onIOEventEnableEvent(Connection connection,
IOEvent ioEvent)
Method will be called, when
IOEvent for the specific
Connection gets enabled. |
void |
ConnectionProbe.onIOEventReadyEvent(Connection connection,
IOEvent ioEvent)
Method will be called, when
IOEvent for the specific
Connection gets ready. |
void |
ConnectionProbe.Adapter.onIOEventReadyEvent(Connection connection,
IOEvent ioEvent)
Method will be called, when
IOEvent for the specific
Connection gets ready. |
Processor |
StandaloneProcessorSelector.select(IOEvent ioEvent,
Connection connection)
|
Processor |
DefaultProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Selects
Processor , which will process connection event. |
Processor |
ChainProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Selects
Processor , which will process connection event. |
Processor |
ProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Selects
Processor , which will process connection event. |
void |
StandaloneProcessor.setInterested(IOEvent ioEvent,
boolean isInterested)
Method does nothing.
|
void |
Processor.setInterested(IOEvent ioEvent,
boolean isInterested)
Set the the i/o event, this
Processor is interested in |
void |
Context.setIoEvent(IOEvent ioEvent)
Set the processing
IOEvent . |
void |
Context.setIoEvent(IOEvent event,
IOEventProcessingHandler handler)
Set the processing
IOEvent . |
void |
Connection.simulateIOEvent(IOEvent ioEvent) |
Modifier and Type | Field and Description |
---|---|
protected EnumSet<IOEvent> |
AbstractFilterChain.interestedIoEventsMask |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractFilterChain.isInterested(IOEvent ioEvent)
Is this
Processor interested in processing the i/o event |
int |
DefaultFilterChain.FiltersState.lastIndexOf(IOEvent event,
DefaultFilterChain.FILTER_STATE_TYPE type) |
int |
DefaultFilterChain.FiltersState.lastIndexOf(IOEvent event,
DefaultFilterChain.FILTER_STATE_TYPE type,
int end) |
Processor |
FilterChainProcessorSelector.select(IOEvent ioEvent,
Connection connection)
Returns
FilterChain instance, if it's interested in processing
passed IOEvent , or null otherwise. |
void |
AbstractFilterChain.setInterested(IOEvent ioEvent,
boolean isInterested)
Set the the i/o event, this
Processor is interested in |
Modifier and Type | Method and Description |
---|---|
IOEvent[] |
SelectionKeyHandler.getIOEvents(int interest) |
IOEvent[] |
DefaultSelectionKeyHandler.getIOEvents(int interest) |
IOEvent |
SelectionKeyHandler.selectionKeyInterest2IoEvent(int selectionKeyInterest) |
IOEvent |
DefaultSelectionKeyHandler.selectionKeyInterest2IoEvent(int selectionKeyInterest) |
Modifier and Type | Method and Description |
---|---|
void |
NIOConnection.disableIOEvent(IOEvent ioEvent) |
void |
NIOConnection.enableIOEvent(IOEvent ioEvent) |
int |
SelectionKeyHandler.ioEvent2SelectionKeyInterest(IOEvent ioEvent) |
int |
DefaultSelectionKeyHandler.ioEvent2SelectionKeyInterest(IOEvent ioEvent) |
protected static void |
NIOConnection.notifyIOEventDisabled(NIOConnection connection,
IOEvent ioEvent)
Notify registered
ConnectionProbe s about the IO Event disabled event. |
protected static void |
NIOConnection.notifyIOEventEnabled(NIOConnection connection,
IOEvent ioEvent)
Notify registered
ConnectionProbe s about the IO Event enabled event. |
protected static void |
NIOConnection.notifyIOEventReady(NIOConnection connection,
IOEvent ioEvent)
Notify registered
ConnectionProbe s about the IO Event ready event. |
Processor |
NIOConnection.obtainProcessor(IOEvent ioEvent) |
void |
NIOConnection.simulateIOEvent(IOEvent ioEvent) |
Modifier and Type | Method and Description |
---|---|
void |
UDPNIOTransport.fireIOEvent(IOEvent ioEvent,
Connection connection,
IOEventProcessingHandler processingHandler) |
void |
TCPNIOTransport.fireIOEvent(IOEvent ioEvent,
Connection connection,
IOEventProcessingHandler processingHandler) |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleDynamicNIOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent) |
boolean |
AbstractIOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent) |
boolean |
SimpleDynamicNIOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent,
boolean isIoEventEnabled) |
boolean |
LeaderFollowerNIOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent,
boolean isIoEventEnabled) |
boolean |
SameThreadIOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent,
boolean isIoEventEnabled) |
boolean |
WorkerThreadIOStrategy.executeIoEvent(Connection connection,
IOEvent ioEvent,
boolean isIoEventEnabled) |
protected static void |
AbstractIOStrategy.fireIOEvent(Connection connection,
IOEvent ioEvent,
IOEventProcessingHandler ph,
Logger logger) |
protected static boolean |
AbstractIOStrategy.isExecuteInWorkerThread(IOEvent ioEvent) |
protected static boolean |
AbstractIOStrategy.isReadWrite(IOEvent ioEvent) |
Copyright © 2014 Oracle Corporation. All rights reserved.