07.01.2013 Aufrufe

Konzeption und Implementierung eines ... - Stephan, Daniel

Konzeption und Implementierung eines ... - Stephan, Daniel

Konzeption und Implementierung eines ... - Stephan, Daniel

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

79 6.3. DATA ACCESS COMMANDS<br />

FetchTemplate<br />

commands::FetchFromCollection<br />

- collectionName: String<br />

- config: ProcessConfiguration<br />

+ «property get» getConfig() : ProcessConfiguration<br />

+ «property set» setConfig(ProcessConfiguration) : void<br />

+ fetch() : void<br />

+ «property get» getCollectionName() : String<br />

+ «property set» setCollectionName(String) : void<br />

FetchTemplate<br />

commands::FetchWithIdFile<br />

- idFileName: String<br />

- log: Log = LogFactory.getL...<br />

+ FetchWithIdFile()<br />

+ fetch() : void<br />

- readIdsFromFile(String) : Set<br />

+ «property get» getIdFileName() : String<br />

+ «property set» setIdFileName(String) : void<br />

FetchTemplate<br />

commands::FetchRandomTemplate<br />

- log: Log = LogFactory.getL...<br />

- collectionName: String<br />

- config: ProcessConfiguration<br />

- max: int = Integer.MAX_VALUE<br />

+ FetchRandomTemplate()<br />

+ fetch() : void<br />

+ «property get» getCollectionName() : String<br />

+ «property set» setCollectionName(String) : void<br />

+ «property get» getConfig() : ProcessConfiguration<br />

+ «property set» setConfig(ProcessConfiguration) : void<br />

+ getMaxResults() : int<br />

+ setMaxResults(int) : void<br />

dao::FetchTemplate<br />

~ queue: BlockingQueue<br />

- filters: List<br />

T<br />

AbstractCommand<br />

+ put(T) : boolean<br />

+ put(T, long, TimeUnit) : boolean<br />

+ put(List) : boolean<br />

+ execute() : T<br />

+ fetch(FetchTemplate) : void<br />

+ fetch() : void<br />

~ setBlockingQueue(BlockingQueue) : void<br />

+ add(Filter) : void<br />

- applyFilters(T) : void<br />

Abbildung 6.7.: Data Access Commands, Teil 1<br />

FetchTemplate<br />

commands::QueryForListOfIds<br />

- log: Log = LogFactory.getL...<br />

- idList: List<br />

- batchSize: int = 30<br />

+ QueryForListOfIds(List)<br />

+ QueryForListOfIds(String)<br />

+ QueryForListOfIds()<br />

+ fetch() : void<br />

- readIdsFromFile(String) : List<br />

+ «property get» getIdList() : List<br />

+ «property set» setIdList(List) : void

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!