package Ġx . retry able Ċ Ċ import Ġio . mic ronaut . retry . event . Retry Event Ċ import Ġio . mic ronaut . runtime . event . annotation . EventListener Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Singleton Ċ class ĠTest Retry EventListener Ġ{ ĊĠĠĠ Ġprivate Ġval Ġ_ events Ġ= Ġmutable ListOf < Retry Event >() ĊĠĠĠ Ġval Ġevents : ĠList < Retry Event > ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġ_ events ĊĊĠĠĠ Ġfun Ġreset () Ġ= Ġ_ events . clear () ĊĊĠĠĠ Ġ@ EventListener ĊĠĠĠ Ġinternal Ġfun Ġon Retry Event ( event : ĠRetry Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ_ events Ġ+= Ġevent ĊĠĠĠ Ġ} Ċ } Ċ