...
|
...
|
@@ -103,6 +103,7 @@ public class EhCacheImpl implements CacheInterface { |
|
|
add(key, value, expiration);
|
|
|
return true;
|
|
|
} catch (Exception e) {
|
|
|
logger.error(e.getMessage(),e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -112,7 +113,7 @@ public class EhCacheImpl implements CacheInterface { |
|
|
delete(key);
|
|
|
return true;
|
|
|
} catch (Exception e) {
|
|
|
logger.error(e.toString());
|
|
|
logger.error(e.getMessage(),e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -122,7 +123,7 @@ public class EhCacheImpl implements CacheInterface { |
|
|
replace(key, value, expiration);
|
|
|
return true;
|
|
|
} catch (Exception e) {
|
|
|
logger.error(e.toString());
|
|
|
logger.error(e.getMessage(),e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -132,7 +133,7 @@ public class EhCacheImpl implements CacheInterface { |
|
|
set(key, value, expiration);
|
|
|
return true;
|
|
|
} catch (Exception e) {
|
|
|
logger.error(e.toString());
|
|
|
logger.error(e.getMessage(),e);
|
|
|
return false;
|
|
|
}
|
|
|
}
|
...
|
...
|
|