org.gcube.common.informationsystem.publisher.impl.generic
Class GCUBEGenericBulkPublisher
java.lang.Object
org.gcube.common.informationsystem.publisher.impl.generic.GCUBEGenericBulkPublisher
- All Implemented Interfaces:
- org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
public class GCUBEGenericBulkPublisher
- extends Object
- implements org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
A publisher that manages registrations/updates/removals in bulk.
Operations are grouped and periodically executed on bunch of resources per call
- Author:
- Manuele Simi (ISTI-CNR)
|
Field Summary |
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger
|
|
Method Summary |
void |
register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
|
void |
register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope,
Document metadata)
|
void |
register(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope)
|
void |
remove(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
|
void |
remove(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope)
|
void |
update(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
|
void |
update(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
GCUBEGenericBulkPublisher
public GCUBEGenericBulkPublisher()
register
public void register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope,
Document metadata)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
register
public void register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Specified by:
register in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
register
public void register(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Specified by:
register in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
update
public void update(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Specified by:
update in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
remove
public void remove(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Specified by:
remove in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
update
public void update(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Specified by:
update in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
remove
public void remove(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
- Specified by:
remove in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
- Throws:
org.gcube.common.core.informationsystem.publisher.ISPublisherException
Copyright © 2013. All Rights Reserved.