@@ -9,44 +9,12 @@ public class AbstractAllEventReconciler {
99 public static final String NO_MORE_EXCEPTION_ANNOTATION_KEY = "no.more.exception" ;
1010
1111 protected volatile boolean useFinalizer = true ;
12- protected volatile boolean throwExceptionOnFirstDeleteEvent = false ;
13- protected volatile boolean throwExceptionIfNoAnnotation = false ;
1412
15- protected volatile boolean waitAfterFirstRetry = false ;
16- protected volatile boolean continuerOnRetryWait = false ;
17- protected volatile boolean waiting = false ;
18-
19- protected volatile boolean isFirstDeleteEvent = true ;
13+ private final AtomicInteger eventCounter = new AtomicInteger (0 );
2014
21- private boolean resourceEventPresent = false ;
2215 private boolean deleteEventPresent = false ;
2316 private boolean eventOnMarkedForDeletion = false ;
24-
25- private final AtomicInteger eventCounter = new AtomicInteger (0 );
26-
27- public boolean isResourceEventPresent () {
28- return resourceEventPresent ;
29- }
30-
31- public void setResourceEventPresent (boolean resourceEventPresent ) {
32- this .resourceEventPresent = resourceEventPresent ;
33- }
34-
35- public boolean isDeleteEventPresent () {
36- return deleteEventPresent ;
37- }
38-
39- public void setDeleteEventPresent (boolean deleteEventPresent ) {
40- this .deleteEventPresent = deleteEventPresent ;
41- }
42-
43- public boolean isEventOnMarkedForDeletion () {
44- return eventOnMarkedForDeletion ;
45- }
46-
47- public void setEventOnMarkedForDeletion (boolean eventOnMarkedForDeletion ) {
48- this .eventOnMarkedForDeletion = eventOnMarkedForDeletion ;
49- }
17+ private boolean resourceEventPresent = false ;
5018
5119 public int getEventCount () {
5220 return eventCounter .get ();
@@ -64,51 +32,27 @@ public void setUseFinalizer(boolean useFinalizer) {
6432 this .useFinalizer = useFinalizer ;
6533 }
6634
67- public boolean isFirstDeleteEvent () {
68- return isFirstDeleteEvent ;
69- }
70-
71- public void setFirstDeleteEvent (boolean firstDeleteEvent ) {
72- isFirstDeleteEvent = firstDeleteEvent ;
73- }
74-
75- public boolean isThrowExceptionOnFirstDeleteEvent () {
76- return throwExceptionOnFirstDeleteEvent ;
77- }
78-
79- public void setThrowExceptionOnFirstDeleteEvent (boolean throwExceptionOnFirstDeleteEvent ) {
80- this .throwExceptionOnFirstDeleteEvent = throwExceptionOnFirstDeleteEvent ;
81- }
82-
83- public boolean isThrowExceptionIfNoAnnotation () {
84- return throwExceptionIfNoAnnotation ;
85- }
86-
87- public void setThrowExceptionIfNoAnnotation (boolean throwExceptionIfNoAnnotation ) {
88- this .throwExceptionIfNoAnnotation = throwExceptionIfNoAnnotation ;
89- }
90-
91- public boolean isWaitAfterFirstRetry () {
92- return waitAfterFirstRetry ;
35+ public boolean isDeleteEventPresent () {
36+ return deleteEventPresent ;
9337 }
9438
95- public void setWaitAfterFirstRetry (boolean waitAfterFirstRetry ) {
96- this .waitAfterFirstRetry = waitAfterFirstRetry ;
39+ public void setDeleteEventPresent (boolean deleteEventPresent ) {
40+ this .deleteEventPresent = deleteEventPresent ;
9741 }
9842
99- public boolean isContinuerOnRetryWait () {
100- return continuerOnRetryWait ;
43+ public boolean isEventOnMarkedForDeletion () {
44+ return eventOnMarkedForDeletion ;
10145 }
10246
103- public void setContinuerOnRetryWait (boolean continuerOnRetryWait ) {
104- this .continuerOnRetryWait = continuerOnRetryWait ;
47+ public void setEventOnMarkedForDeletion (boolean eventOnMarkedForDeletion ) {
48+ this .eventOnMarkedForDeletion = eventOnMarkedForDeletion ;
10549 }
10650
107- public boolean isWaiting () {
108- return waiting ;
51+ public boolean isResourceEventPresent () {
52+ return resourceEventPresent ;
10953 }
11054
111- public void setWaiting (boolean waiting ) {
112- this .waiting = waiting ;
55+ public void setResourceEventPresent (boolean resourceEventPresent ) {
56+ this .resourceEventPresent = resourceEventPresent ;
11357 }
11458}
0 commit comments