Skip to content

Commit b92cdad

Browse files
author
jodzga
committed
Changed default trace retention to 4096.
Deprecated ThrowableCallable in favor of java.util.concurrent.Callable.
1 parent 96ce14d commit b92cdad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/com/linkedin/parseq/Engine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public class Engine
4848
private static final Logger LOG = LoggerFactory.getLogger(LOGGER_BASE);
4949

5050
public static final String MAX_RELATIONSHIPS_PER_TRACE = "_MaxRelationshipsPerTrace_";
51+
private static final int DEFUALT_MAX_RELATIONSHIPS_PER_TRACE = 4096;
5152

5253
private static final State INIT = new State(StateName.RUN, 0);
5354
private static final State TERMINATED = new State(StateName.TERMINATED, 0);
@@ -63,7 +64,6 @@ private static enum StateName { RUN, SHUTDOWN, TERMINATED }
6364

6465
private final Map<String, Object > _properties;
6566

66-
private static final int DEFUALT_MAX_RELATIONSHIPS_PER_TRACE = 1024;
6767
private final int _maxRelationshipsPerTrace;
6868

6969
private final PromiseListener<Object> _taskDoneListener = new PromiseListener<Object>()

src/com/linkedin/parseq/ThrowableCallable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
* An object similar to {@link java.util.concurrent.Callable}, but the
2222
* {@link #call()} method allows a {@link Throwable} to be thrown.
2323
*
24+
* @deprecated As of 2.0.0, replaced by {@link Callable}.
2425
* @see Callable
2526
* @author Chris Pettitt
2627
*/
2728
@FunctionalInterface
28-
public interface ThrowableCallable<T>
29+
@Deprecated public interface ThrowableCallable<T>
2930
{
3031
/**
3132
* Computes a value of type {@code T} or throws a {@link Throwable} if an

0 commit comments

Comments
 (0)