tzulitai commented on a change in pull request #43: [FLINK-16391][http] Add
DelayedMessages and EgressMessages
URL: https://github.com/apache/flink-statefun/pull/43#discussion_r386756031
##########
File path:
statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/reqreply/RequestReplyFunction.java
##########
@@ -72,6 +75,9 @@
private final PersistedTable<String, byte[]> managedStates =
PersistedTable.of("states", String.class, byte[].class);
+ private final SingleThreadedLruCache<String, EgressIdentifier<Any>>
egressIdentifierCache =
+ new SingleThreadedLruCache<>(16);
Review comment:
nit: move the 16 to a named class static final variable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services