Class GridLoadBalancerAdapter
- java.lang.Object
-
- org.apache.ignite.internal.managers.loadbalancer.GridLoadBalancerAdapter
-
- All Implemented Interfaces:
Externalizable,Serializable,ComputeLoadBalancer
public abstract class GridLoadBalancerAdapter extends Object implements ComputeLoadBalancer, Externalizable
This adapter allows for graceful exception when load balancer gets marshalled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridLoadBalancerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(ObjectInput in)protected ObjectreadResolve()Reconstructs object on unmarshalling.voidwriteExternal(ObjectOutput out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.compute.ComputeLoadBalancer
getBalancedNode
-
-
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
readResolve
protected Object readResolve() throws ObjectStreamException
Reconstructs object on unmarshalling.- Returns:
- Reconstructed object.
- Throws:
ObjectStreamException- Thrown in case of unmarshalling error.
-
-