protected void submitWork( SequencingConfiguration sequencingConfig, Matcher matcher, String inputWorkspaceName, String propertyName, String userId ) { if (!acceptsWork) return; // Convert the input path (which has a '@' to denote a property) to a standard JCR path ... SequencingWorkItem workItem = new SequencingWorkItem(sequencingConfig.getSequencer().getUniqueId(), userId, inputWorkspaceName, matcher.getSelectedPath(), matcher.getJcrInputPath(), matcher.getOutputPath(), matcher.getOutputWorkspaceName(), propertyName); statistics().increment(ValueMetric.SEQUENCER_QUEUE_SIZE); workQueue.submit(workItem); }
protected void submitWork( SequencingConfiguration sequencingConfig, Matcher matcher, String inputWorkspaceName, String propertyName, String userId ) { if (!acceptsWork) return; // Convert the input path (which has a '@' to denote a property) to a standard JCR path ... SequencingWorkItem workItem = new SequencingWorkItem(sequencingConfig.getSequencer().getUniqueId(), userId, inputWorkspaceName, matcher.getSelectedPath(), matcher.getJcrInputPath(), matcher.getOutputPath(), matcher.getOutputWorkspaceName(), propertyName); statistics().increment(ValueMetric.SEQUENCER_QUEUE_SIZE); workQueue.submit(workItem); }