public class QuickstartBlobsRegistrar extends AbstractBlobsRegistrar
AbstractBlobsRegistrar.BiConsumer<T,U>, AbstractBlobsRegistrar.Supplier<T>
Constructor and Description |
---|
QuickstartBlobsRegistrar() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getBlobData() |
com.lucidworks.apollo.links.Link |
getBlobLink(com.lucidworks.apollo.pipeline.AbstractBlobsRegistrar.BlobToUpload blob) |
java.lang.String |
getLockZnode() |
void |
init(CuratorComponent curatorComponent,
com.lucidworks.apollo.client.resources.BlobClientResource blobClientResource,
com.lucidworks.apollo.links.LinkManager linkManager)
initialize the blob store with blobs while using zookeeper curator as a lock mechanism
|
init
@WhenReady public void init(CuratorComponent curatorComponent, com.lucidworks.apollo.client.resources.BlobClientResource blobClientResource, com.lucidworks.apollo.links.LinkManager linkManager) throws java.lang.Exception, com.lucidworks.apollo.common.error.RESTError
AbstractBlobsRegistrar
init
in class AbstractBlobsRegistrar
java.lang.Exception
com.lucidworks.apollo.common.error.RESTError
public com.lucidworks.apollo.links.Link getBlobLink(com.lucidworks.apollo.pipeline.AbstractBlobsRegistrar.BlobToUpload blob)
getBlobLink
in class AbstractBlobsRegistrar
public java.lang.String getLockZnode()
getLockZnode
in class AbstractBlobsRegistrar
public java.util.Map<java.lang.String,java.lang.String> getBlobData()
getBlobData
in class AbstractBlobsRegistrar