TreeFrogFramework  2.8
Public Member Functions | Public Attributes | Friends | List of all members
TSharedMemoryKvs::Bucket Class Reference

#include <tsharedmemorykvs.h>

Public Member Functions

bool isExpired () const
 
void clear ()
 

Public Attributes

QByteArray key
 
QByteArray value
 
qint64 expires {0}
 

Friends

QDataStream & operator<< (QDataStream &ds, const Bucket &bucket)
 
QDataStream & operator>> (QDataStream &ds, Bucket &bucket)
 

Detailed Description

The Bucket class represents a data bucket for the in-memory KVS.

Member Function Documentation

◆ clear()

void TSharedMemoryKvs::Bucket::clear ( )
inline

◆ isExpired()

bool TSharedMemoryKvs::Bucket::isExpired ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

QDataStream& operator<< ( QDataStream &  ds,
const Bucket bucket 
)
friend

◆ operator>>

QDataStream& operator>> ( QDataStream &  ds,
Bucket bucket 
)
friend

Member Data Documentation

◆ expires

qint64 TSharedMemoryKvs::Bucket::expires {0}

◆ key

QByteArray TSharedMemoryKvs::Bucket::key

◆ value

QByteArray TSharedMemoryKvs::Bucket::value

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