com.thinkaurelius.titan.core.util

## Class TitanCleanup

- java.lang.Object
- - com.thinkaurelius.titan.core.util.TitanCleanup

-     public class TitanCleanup
      extends Object

  Utility class containing methods that simplify Titan clean-up processes.
  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TitanCleanup()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `clear(TitanGraph graph)` Clears out the entire graph.

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

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

- - ### Constructor Detail

    - #### TitanCleanup

          public TitanCleanup()

  - ### Method Detail

    - #### clear

          public static final void clear(TitanGraph graph)

      Clears out the entire graph. This will delete ALL of the data stored in this graph and the data will NOT be recoverable. This method is intended only for development and testing use.
      Parameters:
        `graph` -
      Throws:
        `IllegalArgumentException` - if the graph has not been shut down
        `TitanException` - if clearing the storage is unsuccessful

Copyright © 2012–2014. All rights reserved.