public interface RecoveryPlugin
Modifier and Type | Method and Description |
---|---|
void |
close(Object c)
Perform a close operation on the passed connection object instance - like
a CCI Connection instance.
|
boolean |
isValid(Object c)
Check if the passed connection object instance is still valid, and hence
the underlying physical connection
|
boolean isValid(Object c) throws javax.resource.ResourceException
c
- The connection instanceTrue
if the connection is still valid, otherwise false
javax.resource.ResourceException
- Thrown in case of an errorvoid close(Object c) throws javax.resource.ResourceException
c
- The connection instancejavax.resource.ResourceException
- Thrown in case of an errorjavax.resource.cci.Connection
Copyright © 2021 JBoss by Red Hat. All rights reserved.