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
Post a Comment