|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter com.atlassian.bamboo.serialization.xstream.ConcurrentHashMapConverter
public class ConcurrentHashMapConverter
Converts
ConcurrentHashMap
using
MapConverter
.
Using this converter means that we lose the original initial parameters: initialCapacity, loadFactor and
concurrencyLevel. Given that 9x% of the time ConcurrentHashMap is created with default values of those
parameters, it seems a reasonable trade-off for not having all the internals of CHM in the serialized XML.
Constructor Summary | |
---|---|
ConcurrentHashMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
|
Method Summary | |
---|---|
boolean |
canConvert(java.lang.Class type)
|
Methods inherited from class com.atlassian.bamboo.serialization.xstream.AbstractXStreamConverterAdapter |
---|
marshal, unmarshal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConcurrentHashMapConverter(com.thoughtworks.xstream.mapper.Mapper mapper)
Method Detail |
---|
public boolean canConvert(java.lang.Class type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |