Some of the LoggerContext or Logger attributes MUST not survive serialization, e.g. appenders, level values etc., as these attributes may have other values on the remote platform. LoggerContextVO class exposes the minimal and relevant attributes to the remote host, instead of having to deal with an incomplete LoggerContext with many null references.
| Modifier and Type | Field and Description |
|---|---|
| protected long | |
| protected String | |
| protected Map | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public long | |
| public String | |
| public Map | |
| public int | |
| public String |
| birthTime | back to summary |
|---|---|
| protected long birthTime | |
| name | back to summary |
|---|---|
| protected String name | |
| propertyMap | back to summary |
|---|---|
| protected Map<String, String> propertyMap | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LoggerContextVO | back to summary |
|---|---|
| public LoggerContextVO(LoggerContext lc) | |
| LoggerContextVO | back to summary |
|---|---|
| public LoggerContextVO(String name, Map<String, String> propertyMap, long birthTime) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getBirthTime | back to summary |
|---|---|
| public long getBirthTime() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getPropertyMap | back to summary |
|---|---|
| public Map | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |