All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.foxtech.common.entity.manager.EntityChangeComponent Maven / Gradle / Ivy

/* ----------------------------------------------------------------------------
 * Copyright (c) Guangzhou Fox-Tech Co., Ltd. 2020-2024. All rights reserved.
 * --------------------------------------------------------------------------- */

package cn.foxtech.common.entity.manager;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 通知组件:通知数据发生变化
 */
@Getter(value = AccessLevel.PUBLIC)
@Setter(value = AccessLevel.PUBLIC)
public class EntityChangeComponent {
    /**
     * 再次发生重新装载的实体类型:从而感知消费者数据发生了变化
     */
    private Map reloadMap = new ConcurrentHashMap<>();
    /**
     * 再次发生发布的实体类型:从而感知生产者数据发生了变化
     */
    private Map publishMap = new ConcurrentHashMap<>();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy