[ 
https://issues.apache.org/jira/browse/GEODE-8864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286668#comment-17286668
 ] 

ASF GitHub Bot commented on GEODE-8864:
---------------------------------------

jhutchison commented on a change in pull request #5954:
URL: https://github.com/apache/geode/pull/5954#discussion_r578667984



##########
File path: 
geode-redis/src/main/java/org/apache/geode/redis/internal/data/RedisHash.java
##########
@@ -46,19 +52,71 @@
 public class RedisHash extends AbstractRedisData {
   public static final RedisHash NULL_REDIS_HASH = new NullRedisHash();
   private HashMap<ByteArrayWrapper, ByteArrayWrapper> hash;
+  private HashMap<UUID, List<ByteArrayWrapper>> hScanSnapShots;
+  private HashMap<UUID, Long> hScanSnapShotCreationTimes;
+  private ScheduledExecutorService HSCANSnapshotExpirationExecutor = null;
+  private int HSCAN_SNAPSHOTS_EXPIRE_MILLISECONDS;
+  private final int TIME_FOR_SNAPSHOTS_TO_LIVE;

Review comment:
       renamed these to 
   HSCAN_SNAPSHOTS_EXPIRE_CHECK_FREQUENCY_MILLISECONDS
   MINIMUM_MILLISECONDS_FOR_HSCAN_SNAPSHOTS_TO_LIVE 
   to clarify intent.  I could still be convinced that they could be the same 
value, but I feel like there might be cases where users want to have infrequent 
checks, but want the snapshots to expire soon after creation? If you still wan 
them combined I won't argue.  I'll put in the ticket to make them configureable 




----------------------------------------------------------------
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]


> finish implementation of Redis HScan Command
> --------------------------------------------
>
>                 Key: GEODE-8864
>                 URL: https://issues.apache.org/jira/browse/GEODE-8864
>             Project: Geode
>          Issue Type: New Feature
>          Components: redis
>            Reporter: John Hutchison
>            Priority: Major
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to