Package

unfiltered.netty

cycle

Permalink

package cycle

Visibility
  1. Public
  2. All

Type Members

  1. trait Deferral extends AnyRef

    Permalink
  2. trait DeferralExecutor extends Deferral

    Permalink

    Uses an ExecutorService to perform deferred tasks.

  3. trait DeferredIntent extends AnyRef

    Permalink

    Defers all processing of the intent to a Deferral mechanism.

  4. trait DeferredResponse extends AnyRef

    Permalink

    Defers application of the intent's response function to a Deferral mechanism.

    Defers application of the intent's response function to a Deferral mechanism. This allows the intent to inspect the request and potentially return Pass on the worker thread, only deferring if it is to produce a response. The Defer object should be used to ensure that blocking operations are not performed in the evaluation of the intent function.

  5. trait Plan extends ChannelInboundHandlerAdapter with ExceptionHandler

    Permalink

    A Netty Plan for request cycle handling.

    A Netty Plan for request cycle handling.

    Annotations
    @Sharable()
  6. trait SynchronousExecution extends AnyRef

    Permalink

    Evaluates the intent and its response function on an I/O worker thread.

    Evaluates the intent and its response function on an I/O worker thread. This is only appropriate if the intent is fully CPU-bound. If any thread-blocking I/O is required, use deferred execution.

  7. trait ThreadPool extends DeferralExecutor with DeferredIntent

    Permalink

    Evaluates the intent in an unbounded CachedThreadPool executor.

    Evaluates the intent in an unbounded CachedThreadPool executor. For a production environment with known memory constraints, it is better to extend DeferralExecutor with DeferredIntent and supply a configured MemoryAwareThreadPoolExecutor.

Value Members

  1. object Intent

    Permalink

    Object to facilitate Plan.Intent definitions.

    Object to facilitate Plan.Intent definitions. Type annotations are another option.

  2. object Plan

    Permalink
  3. object Planify

    Permalink
  4. object ThreadPool

    Permalink

Ungrouped