deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject deltaspike git commit: DELTASPIKE-1110 Added some preliminary docs for async.
Date Thu, 07 Apr 2016 01:12:57 GMT
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 <johndament@apache.org>
Authored: Wed Apr 6 21:12:49 2016 -0400
Committer: John D. Ament <johndament@apache.org>
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


Mime
View raw message