org.databene.model.storage
Class StorageSystemConsumer

java.lang.Object
  extended by org.databene.model.consumer.AbstractConsumer<Entity>
      extended by org.databene.model.storage.StorageSystemConsumer
All Implemented Interfaces:
java.io.Closeable, Consumer<Entity>
Direct Known Subclasses:
StorageSystemInserter, StorageSystemUpdater

public abstract class StorageSystemConsumer
extends AbstractConsumer<Entity>

Stores an Entity in the associated StorageSystem. It replaces the class SystemProcessor.

Created: 29.01.2008 09:35:07

Since:
0.4.0
Author:
Volker Bergmann

Field Summary
protected  StorageSystem system
           
 
Constructor Summary
protected StorageSystemConsumer(StorageSystem system)
           
 
Method Summary
 void close()
           
 void flush()
           
 java.lang.String toString()
           
 
Methods inherited from class org.databene.model.consumer.AbstractConsumer
finishConsuming
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.databene.model.consumer.Consumer
startConsuming
 

Field Detail

system

protected final StorageSystem system
Constructor Detail

StorageSystemConsumer

protected StorageSystemConsumer(StorageSystem system)
Method Detail

flush

public void flush()
Specified by:
flush in interface Consumer<Entity>
Overrides:
flush in class AbstractConsumer<Entity>

close

public void close()
Specified by:
close in interface java.io.Closeable
Specified by:
close in interface Consumer<Entity>
Overrides:
close in class AbstractConsumer<Entity>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.