perfsonar-dev - Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine
Subject: perfsonar development work
List archive
- From: Roman Lapacz <>
- To: Loukik Kudarimoti <>
- Cc:
- Subject: Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine
- Date: Wed, 09 Aug 2006 09:41:12 +0200
Loukik Kudarimoti wrote:
Hi Roman,Hi Loukik,
I was having a look into your class to understand how to communicate with ExistDBStorageManager (my mp sources are broken). I noticed this relationship
public class SQLTypeMAServiceEngine extends RRDTypeMAServiceEngine
I don't understand this inheritance (or the need for it). Can you please explain it to me?
Both classes are very similar and SQL service engine, which was created later, can use some stuff of RRD service engine (for example getKey method). Of course this could be done other way (creating an object of RRD service engine inside SQL service engine and using its method or repetition of the code or creating another abstract class; if you have similar situation in your services it's up to you what you will choose according to your experience) but I chose this solution because it's comfortable and don't break any logical/implementation rules.
Roman
thanks,
Loukik
- Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine, Loukik Kudarimoti, 08/08/2006
- Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine, Roman Lapacz, 08/09/2006
- Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine, Loukik Kudarimoti, 08/09/2006
- Re: [pS-dev] Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine, Roman Lapacz, 08/09/2006
- Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine, Loukik Kudarimoti, 08/09/2006
- Re: Relationship between SQLTypeMAServiceEngine and RRDTypeMAServiceEngine, Roman Lapacz, 08/09/2006
Archive powered by MHonArc 2.6.16.