BlockingSQLiteKeyValueStore Class Reference
[Client]

Inheritance diagram for BlockingSQLiteKeyValueStore:
[legend]
Collaboration diagram for BlockingSQLiteKeyValueStore:
[legend]

List of all members.

Public Member Functions

 BlockingSQLiteKeyValueStore (const StringBuffer &table, const StringBuffer &colKey, const StringBuffer &colValue, const StringBuffer &path)
virtual EnumerationgetProperties ()
 Get all the properties that are currently defined.
virtual int close ()
 Ensure that all properties are stored persistently.
virtual int removeAllProperties ()
 Ensure that all properties are stored persistently.

Private Member Functions

virtual Enumerationquery (const StringBuffer &sql) const
virtual int execute (const StringBuffer &sql)
virtual bool enumeration_hasMoreElement ()
virtual ArrayElement * enumeration_getNextElement ()

Private Attributes

sem_t sema
sem_t sema_save


Detailed Description


Member Function Documentation

virtual int BlockingSQLiteKeyValueStore::close (  )  [inline, virtual]

Ensure that all properties are stored persistently.

If setting a property led to an error earlier, this call will indicate the failure.

Returns:
0 - success, failure otherwise

Reimplemented from SQLiteKeyValueStore.

virtual int BlockingSQLiteKeyValueStore::removeAllProperties (  )  [inline, virtual]

Ensure that all properties are stored persistently.

If setting a property led to an error earlier, this call will indicate the failure.

Returns:
0 - success, failure otherwise Remove all properties

int 0 on success, an error code otherwise

Reimplemented from SQLKeyValueStore.


The documentation for this class was generated from the following file:

Generated on Tue Apr 6 13:00:41 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1