com.liferay.portal.kernel.resiliency.spi.remote
Class RemoteSPI
java.lang.Object
com.liferay.portal.kernel.resiliency.spi.remote.RemoteSPI
- All Implemented Interfaces:
- ProcessCallable<SPI>, SPI, Serializable, Remote
- Direct Known Subclasses:
- MockRemoteSPI
public abstract class RemoteSPI
- extends Object
- implements ProcessCallable<SPI>, Remote, SPI
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
countDownLatch
protected transient CountDownLatch countDownLatch
mpi
protected final MPI mpi
registrationReference
protected RegistrationReference registrationReference
spiAgent
protected transient volatile SPIAgent spiAgent
spiConfiguration
protected final SPIConfiguration spiConfiguration
uuid
protected final String uuid
welder
protected final Welder welder
RemoteSPI
public RemoteSPI(SPIConfiguration spiConfiguration)
call
public SPI call()
throws ProcessException
- Specified by:
call in interface ProcessCallable<SPI>
- Throws:
ProcessException
destroy
public void destroy()
throws RemoteException
- Specified by:
destroy in interface SPI
- Throws:
RemoteException
getMPI
public MPI getMPI()
- Specified by:
getMPI in interface SPI
getRegistrationReference
public RegistrationReference getRegistrationReference()
- Specified by:
getRegistrationReference in interface SPI
getSPIAgent
public SPIAgent getSPIAgent()
- Specified by:
getSPIAgent in interface SPI
getSPIConfiguration
public SPIConfiguration getSPIConfiguration()
- Specified by:
getSPIConfiguration in interface SPI
getUUID
public String getUUID()
getWelder
public Welder getWelder()
isAlive
public boolean isAlive()
- Specified by:
isAlive in interface SPI
doDestroy
protected abstract void doDestroy()
throws RemoteException
- Throws:
RemoteException