Package org.springframework.data.gemfire
Class GemfireCacheUtils
java.lang.Object
org.springframework.data.gemfire.GemfireCacheUtils
Abstract utility class featuring methods for Apache Geode / Pivotal GemFire Cache or Region handling.
- Author:
- Costin Leau, John Blum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataAccessExceptionConverts the given (unchecked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy.static DataAccessExceptionConverts the given (unchecked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy.static DataAccessExceptionConverts the given (checked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy.static DataAccessExceptionConverts the given (unchecked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy.
-
Constructor Details
-
GemfireCacheUtils
public GemfireCacheUtils()
-
-
Method Details
-
convertGemfireAccessException
Converts the given (unchecked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy.- Parameters:
cause- Gemfire unchecked exception- Returns:
- new the corresponding DataAccessException instance
-
convertGemfireAccessException
Converts the given (checked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy.- Parameters:
cause- Gemfire unchecked exception- Returns:
- new the corresponding DataAccessException instance
-
convertGemfireAccessException
Converts the given (unchecked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy. This method exists to handle backwards compatibility for exceptions that had their parents changed in GemFire 6.5.- Parameters:
cause- Gemfire unchecked exception- Returns:
- new the corresponding DataAccessException instance
-
convertGemfireAccessException
Converts the given (unchecked) Gemfire exception to an appropriate one from theorg.springframework.daohierarchy. This method exists to handle backwards compatibility for exceptions that had their parents changed in GemFire 6.5.- Parameters:
cause- Gemfire unchecked exception- Returns:
- new the corresponding DataAccessException instance
-