Package org.gnome.gio
Class MemoryMonitor.MemoryMonitorInterface
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeInterface
org.gnome.gio.MemoryMonitor.MemoryMonitorInterface
- All Implemented Interfaces:
Proxy
- Enclosing interface:
MemoryMonitor
The virtual function table for
GMemoryMonitor
.-
Constructor Summary
ConstructorDescriptionAllocate a new MemoryMonitorInterface.MemoryMonitorInterface
(Arena arena) Allocate a new MemoryMonitorInterface.MemoryMonitorInterface
(MemorySegment address) Create a MemoryMonitorInterface proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideLowMemoryWarning
(Arena arena, Method method) Override virtual methodlow_memory_warning
.Methods inherited from class org.gnome.gobject.TypeInterface
addPrerequisite, getPlugin, instantiatablePrerequisite, peek, peekParent, prerequisites, readGInstanceType, readGType, writeGInstanceType, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
MemoryMonitorInterface
Create a MemoryMonitorInterface proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
MemoryMonitorInterface
Allocate a new MemoryMonitorInterface.- Parameters:
arena
- to control the memory allocation scope
-
MemoryMonitorInterface
public MemoryMonitorInterface()Allocate a new MemoryMonitorInterface. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideLowMemoryWarning
-