Return-Path: X-Original-To: apmail-deltaspike-commits-archive@www.apache.org Delivered-To: apmail-deltaspike-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98FBF18792 for ; Thu, 7 Apr 2016 01:12:57 +0000 (UTC) Received: (qmail 17548 invoked by uid 500); 7 Apr 2016 01:12:57 -0000 Delivered-To: apmail-deltaspike-commits-archive@deltaspike.apache.org Received: (qmail 17505 invoked by uid 500); 7 Apr 2016 01:12:57 -0000 Mailing-List: contact commits-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltaspike.apache.org Delivered-To: mailing list commits@deltaspike.apache.org Received: (qmail 17496 invoked by uid 99); 7 Apr 2016 01:12:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 01:12:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 31726DFD5B; Thu, 7 Apr 2016 01:12:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: johndament@apache.org To: commits@deltaspike.apache.org Message-Id: <81507355998d4a02b5e3d34dd0bc3c7a@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: deltaspike git commit: DELTASPIKE-1110 Added some preliminary docs for async. Date: Thu, 7 Apr 2016 01:12:57 +0000 (UTC) Repository: deltaspike Updated Branches: refs/heads/master e78c329d0 -> 60ba37c9f DELTASPIKE-1110 Added some preliminary docs for async. Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/60ba37c9 Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/60ba37c9 Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/60ba37c9 Branch: refs/heads/master Commit: 60ba37c9f77258a55ecebe0addbb5d5d55c88d86 Parents: e78c329 Author: John D. Ament Authored: Wed Apr 6 21:12:49 2016 -0400 Committer: John D. Ament Committed: Wed Apr 6 21:12:49 2016 -0400 ---------------------------------------------------------------------- documentation/src/main/asciidoc/core.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/60ba37c9/documentation/src/main/asciidoc/core.adoc ---------------------------------------------------------------------- diff --git a/documentation/src/main/asciidoc/core.adoc b/documentation/src/main/asciidoc/core.adoc index 371b36b..3c36921 100644 --- a/documentation/src/main/asciidoc/core.adoc +++ b/documentation/src/main/asciidoc/core.adoc @@ -1170,6 +1170,14 @@ The following example shows how it would look like e.g. in case of the SecurityE deactivate.org.apache.deltaspike.security.impl.extension.SecurityExtension=true ------------------------------------------------------------------------------------------ +== Asynchronous Operations + +DeltaSpike provides support for executing code in an asynchronous manner. The behavior is implemented as three different interceptors for your beans. + +- `@Futreable` - Designed for bean methods that return `Future`s of some form. The method call will automatically be submitted to an `ExecutorService` +- `@Locked` - Ability to prevent concurrent access to a method based on its usage of reads/writes. +- `@Throttled` - Ability to limit how frequently a method can be invoked. + == Utilities DeltaSpike provides many utility classes (no constructor / static