job scheduling - If I use both @PostConstruct and @Scheduled on a bean method what will be the consequences -


@scheduled(fixeddelay=10000) @postconstruct public void somemethod(){  //my refresh cache code here } 

if use both @postconstruct , @scheduled on bean method consequences. method executed twice? 1 after other of may @ same time ?


Comments

Popular posts from this blog

c# - Where does the .ToList() go in LINQ query result -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -