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

com.acgist.snail.system.initializer.impl.PeerEvaluatorInitializer Maven / Gradle / Ivy

package com.acgist.snail.system.initializer.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.acgist.snail.system.evaluation.PeerEvaluator;
import com.acgist.snail.system.initializer.Initializer;

/**
 * 

初始化Peer管理器

* * @author acgist * @since 1.0.0 */ public class PeerEvaluatorInitializer extends Initializer { private static final Logger LOGGER = LoggerFactory.getLogger(PeerEvaluatorInitializer.class); private PeerEvaluatorInitializer() { } public static final PeerEvaluatorInitializer newInstance() { return new PeerEvaluatorInitializer(); } @Override protected void init() { LOGGER.info("初始化Peer管理器"); PeerEvaluator.getInstance().init(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy