Class VulkanMetricsServerNoOp
java.lang.Object
com.io7m.jcoronado.utility.prometheus.internal.VulkanMetricsServerNoOp
- All Implemented Interfaces:
VulkanMetricsServerType, AutoCloseable
A metrics server that does nothing and reports nothing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static VulkanMetricsServerTypecreate()voidregisterAllocator(VMAAllocatorType allocator) voidregisterInstance(VulkanInstanceType instance) void
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
registerInstance
- Specified by:
registerInstancein interfaceVulkanMetricsServerType- Parameters:
instance- Register an instance for metrics reporting
-
registerLogicalDevice
- Specified by:
registerLogicalDevicein interfaceVulkanMetricsServerType- Parameters:
device- Register a device for metrics reporting
-
registerAllocator
- Specified by:
registerAllocatorin interfaceVulkanMetricsServerType- Parameters:
allocator- Register an allocator for metrics reporting
-
create
- Returns:
- A metrics server that does nothing and reports nothing.
-