Package org.apache.cassandra.utils
Annotation Type Shared
-
@Retention(RUNTIME) @Target(TYPE) public @interface Shared
Tells jvm-dtest that a class should be shared across allClassLoader
s. 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 ofIsolated
.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Shared.Recursive
ancestors
Shared.Recursive
inner
Shared.Recursive
members
Shared.Scope[]
scope
-
-
-
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
-
-