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
ConstructorsConstructorDescriptionP2PBlobTransferService(int port, String baseDir, int blobTransferMaxTimeoutInMin, BlobSnapshotManager blobSnapshotManager, io.netty.handler.traffic.GlobalChannelTrafficShapingHandler globalChannelTrafficShapingHandler, Optional<SSLFactory> sslFactory, Optional<BlobTransferAclHandler> aclHandler, int maxAllowedConcurrentSnapshotUsers) -
Method Summary
-
Constructor Details
-
P2PBlobTransferService
public P2PBlobTransferService(int port, String baseDir, int blobTransferMaxTimeoutInMin, BlobSnapshotManager blobSnapshotManager, io.netty.handler.traffic.GlobalChannelTrafficShapingHandler globalChannelTrafficShapingHandler, Optional<SSLFactory> sslFactory, Optional<BlobTransferAclHandler> aclHandler, int maxAllowedConcurrentSnapshotUsers)
-
-
Method Details
-
startInner
- 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:
Exception
-
stopInner
- Specified by:
stopInnerin classAbstractVeniceService- Throws:
Exception
-