IMarkerFactory
interface which creates BasicMarker instances.
Simple logging systems can conform to the SLF4J API by binding
org. with an instance of this class.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | detachMarker(String name)
Implements org. Detach an existing marker. |
| public boolean | |
| public Marker | getDetachedMarker(String name)
Implements org. Create a marker which is detached (even at birth) from this IMarkerFactory. |
| public Marker | Returns: a Marker instancethe name of the marker to be created name)Implements org. Manufacture a |
| markerMap | back to summary |
|---|---|
| private final ConcurrentMap<String, Marker> markerMap | |
| BasicMarkerFactory | back to summary |
|---|---|
| public BasicMarkerFactory() Regular users should not create
| |
| detachMarker | back to summary |
|---|---|
| public boolean detachMarker(String name) Implements org. Doc from org. Detach an existing marker. Note that after a marker is detached, there might still be "dangling" references to the detached marker. | |
| exists | back to summary |
|---|---|
| public boolean exists(String name) Implements org. Does the name marked already exist? | |
| getDetachedMarker | back to summary |
|---|---|
| public Marker getDetachedMarker(String name) Implements org. Doc from org. Create a marker which is detached (even at birth) from this IMarkerFactory. | |
| getMarker | back to summary |
|---|---|
| public Marker getMarker(String name) Implements org. Manufacture a | |