Class

scala.xml.persistent

SetStorage

Related Doc: package persistent

Permalink

class SetStorage extends CachedFileStorage

A persistent store with set semantics. This class allows to add and remove trees, but never contains two structurally equal trees.

Linear Supertypes
CachedFileStorage, Thread, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SetStorage
  2. CachedFileStorage
  3. Thread
  4. Runnable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SetStorage(file: File)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +=(e: Node): Unit

    Permalink

    adds a node, setting this.dirty to true as a side effect

    adds a node, setting this.dirty to true as a side effect

    Definition Classes
    SetStorageCachedFileStorage
  4. def -=(e: Node): Unit

    Permalink

    removes a tree, setting this.dirty to true as a side effect

    removes a tree, setting this.dirty to true as a side effect

    Definition Classes
    SetStorageCachedFileStorage
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    Thread → AnyRef
    Annotations
    @throws( ... )
  8. var dirty: Boolean

    Permalink

    this storage modified since last modification check

    this storage modified since last modification check

    Attributes
    protected
    Definition Classes
    CachedFileStorage
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def flush(): Unit

    Permalink

    Force writing of contents to the file, even if there has not been any update.

    Force writing of contents to the file, even if there has not been any update.

    Definition Classes
    CachedFileStorage
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  13. def getContextClassLoader(): ClassLoader

    Permalink
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  14. final def getName(): String

    Permalink
    Definition Classes
    Thread
  15. final def getPriority(): Int

    Permalink
    Definition Classes
    Thread
  16. def getStackTrace(): Array[StackTraceElement]

    Permalink
    Definition Classes
    Thread
  17. def getState(): State

    Permalink
    Definition Classes
    Thread
  18. final def getThreadGroup(): ThreadGroup

    Permalink
    Definition Classes
    Thread
  19. def getUncaughtExceptionHandler(): UncaughtExceptionHandler

    Permalink
    Definition Classes
    Thread
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  21. def initialNodes: collection.Iterator[Node]

    Permalink

    finds and loads the storage file.

    finds and loads the storage file. subclasses should call this method prior to any other, but only once, to obtain the initial sequence of nodes.

    Attributes
    protected
    Definition Classes
    CachedFileStorage
  22. def interrupt(): Unit

    Permalink
    Definition Classes
    Thread
  23. val interval: Int

    Permalink

    period between modification checks, in milliseconds

    period between modification checks, in milliseconds

    Attributes
    protected
    Definition Classes
    CachedFileStorage
  24. final def isAlive(): Boolean

    Permalink
    Definition Classes
    Thread
  25. final def isDaemon(): Boolean

    Permalink
    Definition Classes
    Thread
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isInterrupted(): Boolean

    Permalink
    Definition Classes
    Thread
  28. final def isVirtual(): Boolean

    Permalink
    Definition Classes
    Thread
  29. final def join(arg0: Duration): Boolean

    Permalink
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  30. final def join(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  31. final def join(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  32. final def join(arg0: Long): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. def nodes: collection.Iterator[Node]

    Permalink

    returns an iterator over the nodes in this storage

    returns an iterator over the nodes in this storage

    Definition Classes
    SetStorageCachedFileStorage
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  37. def run(): Unit

    Permalink

    Run method of the thread.

    Run method of the thread. remember to use start() to start a thread, not run.

    Definition Classes
    CachedFileStorage → Thread → Runnable
  38. def setContextClassLoader(arg0: ClassLoader): Unit

    Permalink
    Definition Classes
    Thread
  39. final def setDaemon(arg0: Boolean): Unit

    Permalink
    Definition Classes
    Thread
  40. final def setName(arg0: String): Unit

    Permalink
    Definition Classes
    Thread
  41. final def setPriority(arg0: Int): Unit

    Permalink
    Definition Classes
    Thread
  42. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit

    Permalink
    Definition Classes
    Thread
  43. def start(): Unit

    Permalink
    Definition Classes
    Thread
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. final def threadId(): Long

    Permalink
    Definition Classes
    Thread
  46. def toString(): String

    Permalink
    Definition Classes
    Thread → AnyRef → Any
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def checkAccess(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def countStackFrames(): Int

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def getId(): Long

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. def log(msg: String): Unit

    Permalink
    Definition Classes
    CachedFileStorage
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) This method and its usages will be removed. Use a debugger to debug code.

  6. final def resume(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  7. final def stop(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  8. final def suspend(): Unit

    Permalink
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from CachedFileStorage

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped