@Override public Builder<T> lockFactory(LockFactory lockFactory) { super.lockFactory(lockFactory); return this; }
/** * Creates a builder for a Repository for given {@code aggregateType}. * * @param aggregateType the {@code aggregateType} specifying the type of aggregate this {@link Repository} will * store */ protected Builder(Class<T> aggregateType) { super(aggregateType); super.lockFactory(NullLockFactory.INSTANCE); }
/** * {@inheritDoc} * If this Builder is used to instantiate a {@link CachingEventSourcingRepository}, do note that an optimistic * locking strategy is not compatible with a caching approach. */ @Override public Builder<T> lockFactory(LockFactory lockFactory) { super.lockFactory(lockFactory); return this; }
/** * Creates a builder for a Repository for given {@code aggregateType}. * * @param aggregateType the {@code aggregateType} specifying the type of aggregate this {@link Repository} will * store */ protected Builder(Class<T> aggregateType) { super(aggregateType); super.lockFactory(NullLockFactory.INSTANCE); }
/** * {@inheritDoc} * If this Builder is used to instantiate a {@link CachingEventSourcingRepository}, do note that an optimistic * locking strategy is not compatible with a caching approach. */ @Override public Builder<T> lockFactory(LockFactory lockFactory) { super.lockFactory(lockFactory); return this; }
@Override public Builder<T> lockFactory(LockFactory lockFactory) { super.lockFactory(lockFactory); return this; }