@Override
        public boolean hasNextBarrier() {
            this.profileStep.start();
            final boolean b = this.barrier.hasNextBarrier();
            this.profileStep.stop();
            return b;
        }
A helper class which holds a {@link Barrier} and it's related {@link ProfileStep} so that the latter can have
its timer started and stopped appropriately.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/ProfilingAware.java