Class P2PBlobTransferService
java.lang.Object
com.linkedin.venice.service.AbstractVeniceService
com.linkedin.davinci.blobtransfer.server.P2PBlobTransferService
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
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
ConstructorDescriptionP2PBlobTransferService
(int port, String baseDir, int blobTransferMaxTimeoutInMin, BlobSnapshotManager blobSnapshotManager) -
Method Summary
-
Constructor Details
-
P2PBlobTransferService
public P2PBlobTransferService(int port, String baseDir, int blobTransferMaxTimeoutInMin, BlobSnapshotManager blobSnapshotManager)
-
-
Method Details
-
startInner
- Specified by:
startInner
in 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.serviceState
toAbstractVeniceService.ServiceState.STARTED
upon completion of the async work). - Throws:
Exception
-
stopInner
- Specified by:
stopInner
in classAbstractVeniceService
- Throws:
Exception
-