Package com.tangosol.net.ssl
Interface RefreshPolicy
- 
- All Superinterfaces:
 com.tangosol.internal.net.ssl.KeyStoreListener
public interface RefreshPolicy extends com.tangosol.internal.net.ssl.KeyStoreListenerImplemented by classes that wish to control whether anSSLContextis updated when its scheduled update check runs.- Since:
 - 22.06
 - Author:
 - Jonathan Knight 2020.01.25
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static RefreshPolicyAlwaysARefreshPolicythat always returnstrue. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldRefresh(com.oracle.coherence.common.net.SSLSocketProvider.Dependencies deps, com.tangosol.internal.net.ssl.ManagerDependencies depsIdMgr, com.tangosol.internal.net.ssl.ManagerDependencies depsTrustMgr)Returntrueif the keys and certs should be refreshed. 
 - 
 
- 
- 
Field Detail
- 
Always
static final RefreshPolicy Always
ARefreshPolicythat always returnstrue. 
 - 
 
- 
Method Detail
- 
shouldRefresh
boolean shouldRefresh(com.oracle.coherence.common.net.SSLSocketProvider.Dependencies deps, com.tangosol.internal.net.ssl.ManagerDependencies depsIdMgr, com.tangosol.internal.net.ssl.ManagerDependencies depsTrustMgr)Returntrueif the keys and certs should be refreshed.- Parameters:
 deps- thesocket provider dependenciesdepsIdMgr- theidentity manager dependenciesornullif no identity manger has been configureddepsTrustMgr- thetrust manager dependenciesornullif no trust manger has been configured- Returns:
 trueif the keys and certs should be refreshed
 
 - 
 
 -