/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.wso2.carbon.registry.caching.invalidator.impl; import java.io.Serializable; /** * Global cache invalidation event serializable object which used to send the data to message broker */ public class GlobalCacheInvalidationEvent implements Serializable { private int tenantId; private String cacheManagerName; private String cacheName; private Serializable cacheKey; private String uuid; public int getTenantId() { return tenantId; } public void setTenantId(int tenantId) { this.tenantId = tenantId; } public String getCacheManagerName() { return cacheManagerName; } public void setCacheManagerName(String cacheManagerName) { this.cacheManagerName = cacheManagerName; } public String getCacheName() { return cacheName; } public void setCacheName(String cacheName) { this.cacheName = cacheName; } public Serializable getCacheKey() { return cacheKey; } public void setCacheKey(Serializable cacheKey) { this.cacheKey = cacheKey; } public String getUuid() { return uuid; } public void setUuid(String uuid) { this.uuid = uuid; } }