Class GlueMetastoreApiStats
- java.lang.Object
-
- io.trino.plugin.hive.metastore.glue.GlueMetastoreApiStats
-
@ThreadSafe public class GlueMetastoreApiStats extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGlueMetastoreApiStats.ThrowingCallable<V,E extends Exception>
-
Constructor Summary
Constructors Constructor Description GlueMetastoreApiStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V,E extends Exception>
Vcall(GlueMetastoreApiStats.ThrowingCallable<V,E> callable)io.airlift.stats.TimeStatgetTime()io.airlift.stats.CounterStatgetTotalFailures()
-
-
-
Method Detail
-
call
public <V,E extends Exception> V call(GlueMetastoreApiStats.ThrowingCallable<V,E> callable) throws E extends Exception
- Throws:
E extends Exception
-
getTime
public io.airlift.stats.TimeStat getTime()
-
getTotalFailures
public io.airlift.stats.CounterStat getTotalFailures()
-
-