@ -57,4 +57,8 @@ public class GCMService {
log.error("Exception occurred while sending the GCM notification : " + result.getErrorMsg());
}
public void resetTenantConfigCache() {
GCMUtil.resetTenantConfigCache();
@ -177,6 +177,10 @@ public class GCMUtil {
return null;
public static void resetTenantConfigCache() {
tenantConfigurationCache.remove(getTenantId());
private static void addTenantConfigurationToCache(TenantConfiguration tenantConfiguration) {
tenantConfigurationCache.put(getTenantId(), tenantConfiguration);