blob: aa7bfabd00bed1791cd1241c8f3f6f7a85960a8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace vespalib {
class ISequencedTaskExecutor;
class ThreadExecutor;
}
namespace vespalib::slime { struct Cursor; }
namespace proton::explorer {
/**
* Utility to convert a thread executor to slime for use with a state explorer.
*/
void convert_executor_to_slime(const vespalib::ThreadExecutor* executor, vespalib::slime::Cursor& object);
/**
* Utility to convert a sequenced task executor to slime for use with a state explorer.
*/
void convert_executor_to_slime(const vespalib::ISequencedTaskExecutor* executor, vespalib::slime::Cursor& object);
}
|