-
Notifications
You must be signed in to change notification settings - Fork 92
Thread safety and state
DuyHai DOAN edited this page Aug 25, 2017
·
8 revisions
By design, Achilles ManagerFactory
and Manager
are stateless.
They only contain references to meta data and pre-built prepared statements.
For common operations the Manager
delegates the job to underlying implementation classes.
Thus they are thread-safe and can be injected as a singleton in any of your DAO/Services.
Example:
...
@Inject
private User_Manager userManager;
...
...
-
Bootstraping Achilles at runtime
- Runtime Configuration Parameters
-
Manager
-
Consistency Level
-
Cassandra Options at runtime
-
Lightweight Transaction (LWT)
-
JSON Serialization
-
Interceptors
-
Bean Validation (JSR-303)