@Retention(value=RUNTIME) @Inherited @Target(value=TYPE) public @interface PooledClient
If the implementing class has resources, like a JDBC connection, then the class must implement java.io.Closeable to close that resource properly once the service pool is done with this service.
For HSQL implementations, specify a transientPredicate of TransientHsqlExceptionPredicate.
For HBase implementations, specify a transientPredicate of HBaseTransientExceptionPredicate.
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends Predicate<Throwable>>[] |
transientPredicate
An array of predicates that will indicate whether encountered exceptions indicate the service client should be reconstructed.
|
public abstract Class<? extends Predicate<Throwable>>[] transientPredicate
For HSQL implementations, specify a transientPredicate of TransientHsqlExceptionPredicate.
For HBase implementations, specify a transientPredicate of HBaseTransientExceptionPredicate.
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.