Class P2PBlobTransferService
- java.lang.Object
-
- com.linkedin.venice.service.AbstractVeniceService
-
- com.linkedin.davinci.blobtransfer.server.P2PBlobTransferService
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class P2PBlobTransferService extends AbstractVeniceService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.linkedin.venice.service.AbstractVeniceService
AbstractVeniceService.ServiceState
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.service.AbstractVeniceService
logger, serviceState
-
-
Constructor Summary
Constructors Constructor Description P2PBlobTransferService(int port, java.lang.String baseDir, BlobSnapshotManager blobSnapshotManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanstartInner()voidstopInner()
-
-
-
Constructor Detail
-
P2PBlobTransferService
public P2PBlobTransferService(int port, java.lang.String baseDir, BlobSnapshotManager blobSnapshotManager)
-
-
Method Detail
-
startInner
public boolean startInner() throws java.lang.Exception- Specified by:
startInnerin classAbstractVeniceService- Returns:
- true if the service is completely started,
false if it is still starting asynchronously (in this case, it is the implementer's
responsibility to set
AbstractVeniceService.serviceStatetoAbstractVeniceService.ServiceState.STARTEDupon completion of the async work). - Throws:
java.lang.Exception
-
stopInner
public void stopInner() throws java.lang.Exception- Specified by:
stopInnerin classAbstractVeniceService- Throws:
java.lang.Exception
-
-