0% found this document useful (0 votes)
2 views

Processor

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Processor

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

+----------------+ +------------------+

| Processor | | ModeIdentifier|

+----------------+ +------------------+

| - mode: ModeIdentifier | <<enumeration>> |

| - database: Database |------------------|

+----------------+ | + DUMP |

| + configure(mode: ModeIdentifier, db: DatabaseIdentifier): void |

| + process(data: Datapoint): void |

+----------------+ +------------------+

| uses

+----------------+

| Database | <-----------+

+----------------+ |

| + connect(): void |

| + insert(data: Datapoint): void |

| + validate(data: Datapoint): void |

+----------------+ |

^ |

| |

+----------------+ +----------------+ +----------------+

| Postgres | | Redis | | Elastic |

+----------------+ +----------------+ +----------------+

| + connect(): void| | + connect(): void| | + connect(): void|

| + insert(data: Datapoint): void | + insert(data: Datapoint): void| + insert(data: Datapoint): void|

| + validate(data: Datapoint): void | + validate(data: Datapoint): void | + validate(data: Datapoint):


void|

+----------------+ +----------------+ +----------------+

You might also like