类的使用
com.alibaba.nacos.core.distributed.distro.entity.DistroData
使用DistroData的程序包
程序包
说明
-
com.alibaba.nacos.core.distributed.distro中DistroData的使用
修饰符和类型方法说明Query data of input distro key.DistroProtocol.onSnapshot(String type)Query all datum snapshot.DistroProtocol.queryFromRemote(DistroKey distroKey)Query data from specified server.修饰符和类型方法说明booleanDistroProtocol.onReceive(DistroData distroData)Receive synced distro data, find processor to process.booleanDistroProtocol.onVerify(DistroData distroData, String sourceAddress)Receive verify data, find processor to process. -
com.alibaba.nacos.core.distributed.distro.component中DistroData的使用
修饰符和类型方法说明get Data from target server.DistroDataStorage.getDatumSnapshot()Get all distro datum snapshot.DistroTransportAgent.getDatumSnapshot(String targetServer)Get all datum snapshot from target server.DistroDataStorage.getDistroData(DistroKey distroKey)Get distro datum.修饰符和类型方法说明booleanDistroDataProcessor.processData(DistroData distroData)Process received data.booleanDistroDataProcessor.processSnapshot(DistroData distroData)Process snapshot data.booleanDistroDataProcessor.processVerifyData(DistroData distroData, String sourceAddress)Process received verify data.booleanDistroTransportAgent.syncData(DistroData data, String targetServer)Sync data.voidDistroTransportAgent.syncData(DistroData data, String targetServer, DistroCallback callback)Sync data with callback.booleanDistroTransportAgent.syncVerifyData(DistroData verifyData, String targetServer)Sync verify data.voidDistroTransportAgent.syncVerifyData(DistroData verifyData, String targetServer, DistroCallback callback)Sync verify data. -
com.alibaba.nacos.core.distributed.distro.task.verify中DistroData的使用
限定符构造器说明DistroVerifyExecuteTask(DistroTransportAgent transportAgent, List<DistroData> verifyData, String targetServer, String resourceType)