public interface WebResourceDependenciesRecorder
Modifier and Type | Interface and Description |
---|---|
static interface |
WebResourceDependenciesRecorder.RecordedResources
Holds the various resources that are recorded from
recordResources(Callable) . |
Modifier and Type | Method and Description |
---|---|
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Callable<T> callback)
Deprecated.
since 7.0.1. Use
recordResources(Callable) |
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
boolean includeSuperbatch,
Callable<T> callback)
Deprecated.
since 7.0.1. Use
recordResources(Iterable, Iterable, boolean, Callable) |
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Callable<T> callback)
Deprecated.
since 7.0.1. Use
recordResources(Iterable, Iterable, Callable) |
<T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
record(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Iterable<String> excludeContexts,
Iterable<String> excludeResources,
boolean includeSuperbatch,
Callable<T> callback)
Deprecated.
|
default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
recordResources(Callable<T> callback)
Records the webresources used during the execution of the given callback.
|
default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
recordResources(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
boolean includeSuperbatch,
Callable<T> callback)
Records the webresources used during the execution of the given callback.
|
default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
recordResources(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Callable<T> callback)
Same as calling
recordResources(Iterable, Iterable, boolean, Callable) , but with superbatch set to false. |
default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> |
recordResources(Iterable<String> additionalContexts,
Iterable<String> additionalResources,
Iterable<String> excludeContexts,
Iterable<String> excludeResources,
boolean includeSuperbatch,
Callable<T> callback) |
@Deprecated <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Callable<T> callback) throws Exception
recordResources(Callable)
recordResources(Iterable, Iterable,
Callable)
without any overrides.T
- the return value of the callbackcallback
- the code to execute during recordingException
- if the callback threw an exception.default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> recordResources(Callable<T> callback) throws Exception
recordResources(Iterable, Iterable,
Callable)
without any overrides.T
- the return value of the callbackcallback
- the code to execute during recordingException
- if the callback threw an exception.@Deprecated <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, Callable<T> callback) throws Exception
recordResources(Iterable, Iterable, Callable)
recordResources(Iterable, Iterable, boolean, Callable)
, but with superbatch set to false.T
- the return value of the callback.additionalContexts
- the context that should be added to the set of webresources (which may not be in the callback)additionalResources
- the additional resources that should be added to the set of webresources (which may not be in the
callback)callback
- the code to execute during recordingException
- if the callback threw an exception.default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> recordResources(Iterable<String> additionalContexts, Iterable<String> additionalResources, Callable<T> callback) throws Exception
recordResources(Iterable, Iterable, boolean, Callable)
, but with superbatch set to false.T
- the return value of the callback.additionalContexts
- the context that should be added to the set of webresources (which may not be in the callback)additionalResources
- the additional resources that should be added to the set of webresources (which may not be in the
callback)callback
- the code to execute during recordingException
- if the callback threw an exception.@Deprecated <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
recordResources(Iterable, Iterable, boolean, Callable)
T
- the return value of the callback.additionalContexts
- the context that should be added to the set of webresources (which may not be in the callback)additionalResources
- the additional resources that should be added to the set of webresources (which may not be in the
callback)includeSuperbatch
- true if the record should include the superbatch.callback
- the code to execute during recordingException
- if the callback threw an exception.default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> recordResources(Iterable<String> additionalContexts, Iterable<String> additionalResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
T
- the return value of the callback.additionalContexts
- the context that should be added to the set of webresources (which may not be in the callback)additionalResources
- the additional resources that should be added to the set of webresources (which may not be in the
callback)includeSuperbatch
- true if the record should include the superbatch.callback
- the code to execute during recordingException
- if the callback threw an exception.@Deprecated <T> com.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> record(Iterable<String> additionalContexts, Iterable<String> additionalResources, Iterable<String> excludeContexts, Iterable<String> excludeResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
recordResources(Iterable, Iterable, Iterable, Iterable, boolean, Callable)
Exception
default <T> io.atlassian.fugue.Pair<T,WebResourceDependenciesRecorder.RecordedResources> recordResources(Iterable<String> additionalContexts, Iterable<String> additionalResources, Iterable<String> excludeContexts, Iterable<String> excludeResources, boolean includeSuperbatch, Callable<T> callback) throws Exception
Exception
Copyright © 2003–2020 Atlassian. All rights reserved.