File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
transactionoutbox-core/src/main/java/com/gruelbox/transactionoutbox Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1616import java .util .Collection ;
1717import java .util .List ;
1818import java .util .Objects ;
19+
20+ import lombok .AccessLevel ;
21+ import lombok .AllArgsConstructor ;
1922import lombok .extern .slf4j .Slf4j ;
2023
2124/**
3033 * equally esoteric, you may prefer to implement {@link Persistor} from the ground up.
3134 */
3235@ Slf4j
36+ @ AllArgsConstructor (access = AccessLevel .PROTECTED )
3337public class DefaultPersistor implements Persistor , Validatable {
3438
3539 private static final int DEFAULT_WRITE_LOCK_TIMEOUT_SECONDS = 2 ;
@@ -94,21 +98,6 @@ protected DefaultPersistor(Dialect dialect) {
9498 InvocationSerializer .createDefaultJsonSerializer ());
9599 }
96100
97- protected DefaultPersistor (
98- int writeLockTimeoutSeconds ,
99- Dialect dialect ,
100- SequenceGenerator sequenceGenerator ,
101- String tableName ,
102- boolean migrate ,
103- InvocationSerializer serializer ) {
104- this .writeLockTimeoutSeconds = writeLockTimeoutSeconds ;
105- this .dialect = dialect ;
106- this .sequenceGenerator = sequenceGenerator ;
107- this .tableName = tableName ;
108- this .migrate = migrate ;
109- this .serializer = serializer ;
110- }
111-
112101 public static DefaultPersistorBuilder builder () {
113102 return new DefaultPersistorBuilder ();
114103 }
You can’t perform that action at this time.
0 commit comments