public class ReIndexingScopeThreadLocal extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReIndexingScopeThreadLocal.ReIndexingScope |
Constructor and Description |
---|
ReIndexingScopeThreadLocal() |
Modifier and Type | Method and Description |
---|---|
static ReIndexingScopeThreadLocal.ReIndexingScope |
currentScope() |
static void |
withScope(ReIndexingScopeThreadLocal.ReIndexingScope scope,
Runnable runnable)
Execute a
Runnable with specified scope |
public static ReIndexingScopeThreadLocal.ReIndexingScope currentScope()
public static void withScope(ReIndexingScopeThreadLocal.ReIndexingScope scope, Runnable runnable)
Runnable
with specified scopescope
- the reindexing scope that runnable
should be executed underrunnable
- a processing that needs to be done under certain reindexing scopeCopyright © 2003–2020 Atlassian. All rights reserved.