| Package | Description |
|---|---|
| org.cojen.dirmi |
Public API for Dirmi.
|
| org.cojen.dirmi.core |
Session implementation classes.
|
| Modifier and Type | Method and Description |
|---|---|
static <V> Completion<V> |
Response.complete(V value)
Returns a
Completion which always returns the given value. |
static <V> Completion<V> |
Response.exception(Throwable cause)
Returns a
Completion which always throws an ExecutionException wrapping the given cause. |
| Modifier and Type | Method and Description |
|---|---|
void |
Completion.register(Queue<? super Completion<V>> completionQueue)
Registers this future such that it enqueues itself into the given queue
when done.
|
| Modifier and Type | Method and Description |
|---|---|
<V> Completion<V> |
StubSupport.createCompletion(Object stub)
Used by asynchronous methods which return a Future or Completion.
|
Copyright © 2006–2015 Cojen. All rights reserved.