public abstract class AbstractBlobsRegistrar
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractBlobsRegistrar.BiConsumer<T,U>
I want a BiConcumer that WILL yield a RESTError for my lambdas
|
static interface |
AbstractBlobsRegistrar.Supplier<T>
i want a Supplier like interface that WILL yield a RESTError for my lambdas
|
Constructor and Description |
---|
AbstractBlobsRegistrar() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Map<java.lang.String,java.lang.String> |
getBlobData() |
abstract 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
|
void |
init(com.lucidworks.apollo.client.FusionClient fusionClient,
com.lucidworks.apollo.links.LinkManager linkManager) |
public java.lang.String getLockZnode()
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
curatorComponent
- blobClientResource
- linkManager
- java.lang.Exception
com.lucidworks.apollo.common.error.RESTError
public void init(com.lucidworks.apollo.client.FusionClient fusionClient, com.lucidworks.apollo.links.LinkManager linkManager) throws com.lucidworks.apollo.common.error.RESTError
com.lucidworks.apollo.common.error.RESTError
public abstract com.lucidworks.apollo.links.Link getBlobLink(com.lucidworks.apollo.pipeline.AbstractBlobsRegistrar.BlobToUpload blob)
public abstract java.util.Map<java.lang.String,java.lang.String> getBlobData()