Move to kernel style SPDX license identifiers
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-common / org / lttng / ust / agent / ILttngHandler.java
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2015 EfficiOS Inc.
5 * Copyright (C) 2015 Alexandre Montplaisir <alexmonthy@efficios.com>
6 */
7
8 package org.lttng.ust.agent;
9
10 /**
11 * Simple interface to organize all LTTng log handlers under one type.
12 *
13 * @author Alexandre Montplaisir
14 */
15 public interface ILttngHandler {
16
17 /**
18 * Get the number of events logged by this handler since its inception.
19 *
20 * @return The number of logged events
21 */
22 long getEventCount();
23
24 /**
25 * Close the log handler. Should be called once the application is done
26 * logging through it.
27 */
28 void close();
29 }
This page took 0.029188 seconds and 4 git commands to generate.