Used by 'jcmd JFR.view' and 'jfr view'.
Views are defined in jdk/jfr/internal/query/view.ini
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Configuration | |
| private final Output | |
| private final StopWatch | |
| private final EventStream |
| Access | Constructor and Description |
|---|---|
| public | ViewPrinter(Configuration
display configuration configuration, EventStream a non-started stream from where data should be fetched. stream)Constructs a view printer object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static List | |
| private static List | |
| private String | |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| private boolean | |
| private boolean |
| configuration | back to summary |
|---|---|
| private final Configuration configuration | |
| out | back to summary |
|---|---|
| private final Output out | |
| stopWatch | back to summary |
|---|---|
| private final StopWatch stopWatch | |
| stream | back to summary |
|---|---|
| private final EventStream stream | |
| ViewPrinter | back to summary |
|---|---|
| public ViewPrinter(Configuration configuration, EventStream stream) Constructs a view printer object.
| |
| execute | back to summary |
|---|---|
| public void execute(String text) throws UserDataException, UserSyntaxException Prints the view.
| |
| getAvailableViews | back to summary |
|---|---|
| public static List | |
| getViewList | back to summary |
|---|---|
| private static List | |
| nextText | back to summary |
|---|---|
| private String nextText(Tokenizer tokenizer) throws ParseException | |
| printQuery | back to summary |
|---|---|
| private void printQuery(ViewPrinter. | |
| printTimespan | back to summary |
|---|---|
| private void printTimespan() | |
| printView | back to summary |
|---|---|
| private void printView(ViewFile. | |
| printViewTypeRelation | back to summary |
|---|---|
| pack-priv void printViewTypeRelation(List<ViewFile. | |
| showEventType | back to summary |
|---|---|
| private boolean showEventType(String eventType) | |
| showViews | back to summary |
|---|---|
| private boolean showViews(String text) throws UserDataException, ParseException, UserSyntaxException | |
| Modifier and Type | Field and Description |
|---|---|
| private final Output | |
| private int | |
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| private void |
| out | back to summary |
|---|---|
| private final Output out | |
| position | back to summary |
|---|---|
| private int position | |
| width | back to summary |
|---|---|
| private final long width | |
| LineBuilder | back to summary |
|---|---|
| pack-priv LineBuilder(Output out, long width) | |
| append | back to summary |
|---|---|
| public void append(String text) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| back to summary | |
|---|---|
| private void print(String s) | |