fr.fastconnect.gigaspaces.datasource
Class ExternalDataSourceLogger<T>

java.lang.Object
  extended by fr.fastconnect.wanblueprint.mirror.ExternalDataSourceAdapter<T>
      extended by fr.fastconnect.gigaspaces.datasource.ExternalDataSourceLogger<T>
Type Parameters:
T -
All Implemented Interfaces:
com.gigaspaces.datasource.BulkDataPersister, com.gigaspaces.datasource.DataPersister<T>, com.gigaspaces.datasource.DataProvider<T>, com.gigaspaces.datasource.ExternalDataSource<T>, com.gigaspaces.datasource.ManagedDataSource<T>, com.gigaspaces.datasource.SQLDataProvider<T>

public class ExternalDataSourceLogger<T>
extends fr.fastconnect.wanblueprint.mirror.ExternalDataSourceAdapter<T>

Implementation of a BulkDataPersister whose BulkDataPersister.executeBulk(List) simply print the argument size.


Constructor Summary
ExternalDataSourceLogger()
           
 
Method Summary
 void executeBulk(java.util.List<com.gigaspaces.datasource.BulkItem> bulk)
           
 
Methods inherited from class fr.fastconnect.wanblueprint.mirror.ExternalDataSourceAdapter
count, count, init, initialLoad, iterator, iterator, read, remove, removeBatch, shutdown, update, updateBatch, write, writeBatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalDataSourceLogger

public ExternalDataSourceLogger()
Method Detail

executeBulk

public void executeBulk(java.util.List<com.gigaspaces.datasource.BulkItem> bulk)
                 throws com.gigaspaces.datasource.DataSourceException
Specified by:
executeBulk in interface com.gigaspaces.datasource.BulkDataPersister
Overrides:
executeBulk in class fr.fastconnect.wanblueprint.mirror.ExternalDataSourceAdapter<T>
Throws:
com.gigaspaces.datasource.DataSourceException


Copyright © 2007-2009 FastConnect. All Rights Reserved.