Refine search
@PostConstruct private void initialize() { logger.info( "SampleRedisConfig initialized - expireSeconds: {}, clusterNodes: {}, commandTimeout: {}, someMap: {}, someList: {}", expireSeconds, clusterNodes, commandTimeout, someMap, someList); }
@PostConstruct public void initLockManager() throws Exception { this.lockManager = injector.getInstance(LockManager.class); if (this.lockManager != null) { logger.info("LockManager injection successful"); } else { logger.error("LockManager injection unsuccessful"); } }
@PostConstruct @Override public void initialize() { logger.info("Initializing ..."); peerEurekaNodes.start(); try { registry.init(peerEurekaNodes); } catch (Exception e) { throw new RuntimeException(e); } logger.info("Initialized"); }
@PostConstruct public void init() { try { // Must set the initial status currentStatus = client.getInstanceRemoteStatus(); LOG.info("Initial status set to {}", currentStatus); eventBus.registerSubscriber(this); } catch (InvalidSubscriberException e) { LOG.error("Error registring for discovery status change events.", e); } }
@PostConstruct public synchronized void init() { if (running) { return; } try { logger.info("## start the canal client adapters."); adapterLoader = new CanalAdapterLoader(adapterCanalConfig); adapterLoader.init(); running = true; logger.info("## the canal client adapters are running now ......"); } catch (Exception e) { logger.error("## something goes wrong when starting up the canal client adapters:", e); } }
@PostConstruct void init() { this.rootName = ((CMSManager) cacheManager).getRootName(); LOGGER.info("init " + getClass().getName() + " setting root" + this.rootName); }
@PostConstruct void init() { this.rootName = ((CMSManager) cacheManager).getRootName(); LOGGER.info("init " + getClass().getName() + " setting root" + this.rootName); }
@PostConstruct void init() { this.rootName = ((CMSManager) cacheManager).getRootName(); LOGGER.info("init " + getClass().getName() + " setting root" + this.rootName); }
@PostConstruct void init() { this.rootName = ((CMSManager) cacheManager).getRootName(); LOGGER.info("init " + getClass().getName() + " setting root" + this.rootName); }
/** * The method is called after all EthereumJ instances are created */ @PostConstruct private void springInit() { setupLogging(); // adding the main EthereumJ callback to be notified on different kind of events ethereum.addListener(listener); logger.info("Sample component created. Listening for ethereum events..."); // starting lifecycle tracking method run() new Thread(this, "SampleWorkThread").start(); }
@PostConstruct public void start() throws Exception { for (Entry<JobDetail, Trigger> job : jobs) { JobDetail detail = job.getKey(); Trigger trigger = job.getValue(); log.info(" {} {}", detail.getKey(), describe(trigger)); scheduler.scheduleJob(detail, trigger); } scheduler.start(); }
@PostConstruct public synchronized void start() { if (future != null) { return; } long delay = firstDelay(resetTime, resetTimeUnit); future = JetCacheExecutor.defaultExecutor().scheduleAtFixedRate( cmd, delay, resetTimeUnit.toMillis(resetTime), TimeUnit.MILLISECONDS); logger.info("cache stat period at " + resetTime + " " + resetTimeUnit); }
/** * 启动 cim server * * @return * @throws InterruptedException */ @PostConstruct public void start() throws InterruptedException { ServerBootstrap bootstrap = new ServerBootstrap() .group(boss, work) .channel(NioServerSocketChannel.class) .localAddress(new InetSocketAddress(nettyPort)) //保持长连接 .childOption(ChannelOption.SO_KEEPALIVE, true) .childHandler(new CIMServerInitializer()); ChannelFuture future = bootstrap.bind().sync(); if (future.isSuccess()) { LOGGER.info("启动 cim server 成功"); } }
/** * Bean init-method. */ @PostConstruct public void initBean() { LOG.info("Init default event service."); listeners = Collections.newSetFromMap(new ConcurrentHashMap<EventServiceListener, Boolean>()); neighbors = new Neighbors<>(KaaThriftService.OPERATIONS_SERVICE, new MessageTemplate(this), operationsServerConfig.getMaxNumberNeighborConnections()); }
@PostConstruct public void start(){ boolean shouldRun = new Boolean(properties.getProperty("usergrid.queues.listener.run", "true")); logger.info("QueueListener: never started due to config value usergrid.queues.listener.run.");
@PostConstruct public void init() { if (!environment.getAgentStatusEnabled()) { LOG.info("Agent status HTTP API server has been disabled."); return; } try { start(); LOG.info("Agent status HTTP API server running on http://{}:{}.", getHostname() == null ? "0.0.0.0" : getHostname(), getListeningPort()); } catch (Exception e) { LOG.warn("Could not start agent status HTTP API server on host {}, port {}.", getHostname(), port, e); } } }
/** * The method is called after all EthereumJ instances are created */ @PostConstruct private void springInit() { logger = LoggerFactory.getLogger(loggerName); // adding the main EthereumJ callback to be notified on different kind of events ethereum.addListener(listener); logger.info("Sample component created. Listening for ethereum events..."); // starting lifecycle tracking method run() new Thread(this, "SampleWorkThread").start(); }
/** * The method is called after all EthereumJ instances are created */ @PostConstruct private void springInit() { logger = LoggerFactory.getLogger(loggerName); // adding the main EthereumJ callback to be notified on different kind of events ethereum.addListener(listener); logger.info("Sample component created. Listening for ethereum events..."); // starting lifecycle tracking method run() new Thread(this, "SampleWorkThread").start(); }
@PostConstruct public void init() { serverPort = System.getProperty("nacos.server.port", "8848"); envIdUrl = "http://" + domainName + ":" + addressPort + "/env"; defaultLog.info("ServerListService address-server port:" + serverPort); defaultLog.info("ADDRESS_SERVER_URL:" + addressServerUrl); isHealthCheck = PropertyUtil.isHealthCheck(); maxFailCount = PropertyUtil.getMaxHealthCheckFailCount();
/** * Bean init-method. */ @PostConstruct public void initBean() { LOG.info("Init default cluster service."); neighbors = new Neighbors<>(KaaThriftService.OPERATIONS_SERVICE, new MessageTemplate(), operationsServerConfig.getMaxNumberNeighborConnections()); }