Package org.red5.server.net.rtmp.event
Class AllocationDebugger
java.lang.Object
org.red5.server.net.rtmp.event.AllocationDebugger
Simple allocation debugger for Event reference counting.
- Author:
- The Red5 Project, Steven Gong (steven.gong@gmail.com) on behalf of (ce@publishing-etc.de), Paul Gregoire (mondain@gmail.com)
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdd event to mapvoiddump()Dumps allocationsstatic AllocationDebuggerGetter for instanceprotected voidRelease event if there's no more references to itprotected voidRetain event
-
Method Details
-
getInstance
Getter for instance- Returns:
- Allocation debugger instance
-
create
Add event to map- Parameters:
event- Event
-
retain
Retain event- Parameters:
event- Event
-
release
Release event if there's no more references to it- Parameters:
event- Event
-
dump
public void dump()Dumps allocations
-