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

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -