public class UnmarshallerPool
extends java.lang.Object
Constructor and Description |
---|
UnmarshallerPool(int poolSize) |
Modifier and Type | Method and Description |
---|---|
javax.xml.bind.Unmarshaller |
borrowUnmarshaller() |
int |
getCurrentCapacity() |
int |
getOriginalCapacity() |
void |
invalidateUnmarshaller(javax.xml.bind.Unmarshaller unmarshaller) |
void |
returnUnmarshaller(javax.xml.bind.Unmarshaller unmarshaller) |
public javax.xml.bind.Unmarshaller borrowUnmarshaller() throws java.lang.InterruptedException
java.lang.InterruptedException
public void returnUnmarshaller(javax.xml.bind.Unmarshaller unmarshaller) throws java.lang.InterruptedException
java.lang.InterruptedException
public void invalidateUnmarshaller(javax.xml.bind.Unmarshaller unmarshaller) throws java.lang.InterruptedException
java.lang.InterruptedException
public int getOriginalCapacity()
public int getCurrentCapacity()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.