class CacheKey

Methods

static 
cloneKey(int $jobId)

No description

static string
pipelineHashKey(int $jobId, string $type = 'pipeline')

No description

static 
pipelineListKey(int $jobId, string $type = 'pipeline')

No description

static 
pipelineDumpListKey(int $jobId, string $type = 'pipeline')

No description

static 
pipelineListCopyKey(int $jobId, string $type = 'pipeline', string $prefix = null)

No description

static 
serviceHashKey(int $jobId)

No description

static 
notificationsHashKey(int $jobId)

No description

static 
logHashKey(int $jobId)

No description

static string
cacheKey(int $jobId, $type = 'download')

No description

static void
flush(int $jobId)

删除某个 job 所用到的缓存.

Details

at line 32
static cloneKey(int $jobId)

Parameters

int $jobId

at line 42
static string pipelineHashKey(int $jobId, string $type = 'pipeline')

Parameters

int $jobId
string $type

Return Value

string

at line 47
static pipelineListKey(int $jobId, string $type = 'pipeline')

Parameters

int $jobId
string $type

at line 52
static pipelineDumpListKey(int $jobId, string $type = 'pipeline')

Parameters

int $jobId
string $type

at line 60
static pipelineListCopyKey(int $jobId, string $type = 'pipeline', string $prefix = null)

Parameters

int $jobId
string $type
string $prefix

at line 74
static serviceHashKey(int $jobId)

Parameters

int $jobId

at line 79
static notificationsHashKey(int $jobId)

Parameters

int $jobId

at line 84
static logHashKey(int $jobId)

Parameters

int $jobId

at line 94
static string cacheKey(int $jobId, $type = 'download')

Parameters

int $jobId
$type

Return Value

string

at line 104
static void flush(int $jobId)

删除某个 job 所用到的缓存.

Parameters

int $jobId

Return Value

void

Exceptions

Exception