| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.management.runtime.component
|
Class ComponentErrorHandler
|
|
+--com.newstep.solid.management.runtime.component.ComponentErrorHandler
public class ComponentErrorHandler
Links:
Kernel Association Association Link
memory reservoir used to block memory that may be released in order to allow
graceful handling of even in severe out of memory conditions
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Kernel Association Association Link
the component who's error are being handled
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Generalization Generalization Link
| Field Summary |
private final static String |
|
|
|
private static Logger |
|
|
|
| Constructor Summary |
public void |
|
| Method Summary |
public void |
|
private void |
|
public void |
|
private final static String className
Final.
Multiplicity:
1
Static.
the component who's error are being handled
Multiplicity:
1
private static Logger logger
logging members
Multiplicity:
1
Static.
memory reservoir used to block memory that may be released in order to allow
graceful handling of even in severe out of memory conditions
Multiplicity:
1
Static.
public void ComponentErrorHandler (Component component)
default constructor
Stereotype:
create
public void doHandle (Throwable throwable)
logs the unhandled throwable
private void handleOutOfMemory (Throwable throwable)
handle the out of memory by logging and alarming. If handling fails due
to lack of memory, the handle method attempts to regain some memory from
its reserves and retry the handling
NOTE: must be careful that attempted handling does not enter
undefined state if OutOfMemory generated so it can be retried
Parameters:
throwable the unhandled Throwable to be handled
initializes the memory reservoir base on the specified configuration
Parameters:
config the ComponentErrorHandlerConfig to apply to the handler
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|