java.lang.Object
io.lettuce.core.support.ConnectionWrapping
public class ConnectionWrapping extends Object
Utility to wrap pooled connections for return-on-close.
- Since:
- 5.1
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description ConnectionWrapping() -
Method Summary
-
Constructor Details
-
ConnectionWrapping
public ConnectionWrapping()
-
-
Method Details
-
unwrap
Unwrap a potentiallyConnectionWrapping.Wrapperobject. Recurses acrosswrappers- Parameters:
object- the potentially wrapped object.- Returns:
- the
objectif it is not wrapped or theunwrappedobject.
-