org.apache.tinkerpop.gremlin.process.traversal

## Class TraversalInterruptionTest

- java.lang.Object
- - org.apache.tinkerpop.gremlin.AbstractGremlinTest
  - - org.apache.tinkerpop.gremlin.process.AbstractGremlinProcessTest
    - - org.apache.tinkerpop.gremlin.process.traversal.TraversalInterruptionTest

-     public class TraversalInterruptionTest
      extends AbstractGremlinProcessTest

  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `name`
    `UnaryOperator<GraphTraversal<?,?>>` | `traversalAfterPause`
    `Function<GraphTraversalSource,GraphTraversal<?,?>>` | `traversalBeforePause`

    - ### Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest

      `config, g, graph, graphProvider, shouldTestIteratorLeak`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TraversalInterruptionTest()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Iterable<Object[]>` | `data()`
    `void` | `shouldRespectThreadInterruptionInVertexStep()`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.process.AbstractGremlinProcessTest

      `checkMap, checkOrderedResults, checkResults, checkResults, checkSideEffects, graphMeetsTestRequirements, hasGraphComputerRequirement, makeMapList, setupTest`

    - ### Methods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest

      `afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyUniqueStepIds`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          public String name

    - #### traversalBeforePause

          public Function<GraphTraversalSource,GraphTraversal<?,?>> traversalBeforePause

    - #### traversalAfterPause

          public UnaryOperator<GraphTraversal<?,?>> traversalAfterPause

  - ### Constructor Detail

    - #### TraversalInterruptionTest

          public TraversalInterruptionTest()

  - ### Method Detail

    - #### data

          public static Iterable<Object[]> data()

    - #### shouldRespectThreadInterruptionInVertexStep

          public void shouldRespectThreadInterruptionInVertexStep()
                                                           throws Exception

      Throws:
        `Exception`

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.