Class CacheKeys
java.lang.Object
com.norconex.crawler.core.cluster.impl.hazelcast.CacheKeys
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringpipelineKey(@NonNull HazelcastCluster cluster, @NonNull Pipeline pipeline) static StringpipelineWorkerKeyPrefix(@NonNull HazelcastCluster cluster, @NonNull Pipeline pipeline) The worker key without the node information, constructed as:static StringpipelineWorkerNodeKey(@NonNull HazelcastCluster cluster, @NonNull Pipeline pipeline)
-
Method Details
-
pipelineKey
public static String pipelineKey(@NonNull @NonNull HazelcastCluster cluster, @NonNull @NonNull Pipeline pipeline) -
pipelineWorkerNodeKey
public static String pipelineWorkerNodeKey(@NonNull @NonNull HazelcastCluster cluster, @NonNull @NonNull Pipeline pipeline) -
pipelineWorkerKeyPrefix
public static String pipelineWorkerKeyPrefix(@NonNull @NonNull HazelcastCluster cluster, @NonNull @NonNull Pipeline pipeline) The worker key without the node information, constructed as:
crawlSessionId:pipelineId:crawlRunId:Can be used to get all worker entries for a given session and run.
- Parameters:
cluster- the clusterpipeline- the pipeline- Returns:
- the key prefix
-