Annotation Type Shared


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Shared
    Tells jvm-dtest that a class should be shared across all ClassLoaders. Jvm-dtest relies on classloader isolation to run multiple cassandra instances in the same JVM, this makes it so some classes do not get shared (outside a blesssed set of classes/packages). When the default behavior is not desirable, this annotation will tell jvm-dtest to share the class accross all class loaders. This is the oposite of Isolated.
    • Element Detail

      • scope

        Shared.Scope[] scope
        Default:
        {org.apache.cassandra.utils.Shared.Scope.ANY}
      • inner

        Shared.Recursive inner
        Default:
        org.apache.cassandra.utils.Shared.Recursive.NONE
      • ancestors

        Shared.Recursive ancestors
        Default:
        org.apache.cassandra.utils.Shared.Recursive.NONE
      • members

        Shared.Recursive members
        Default:
        org.apache.cassandra.utils.Shared.Recursive.NONE