namespace Nette\Caching
Class FileJournal
File journal.
fj structure Header : ( Magic : int32 SectionCount : int32 Sections : SectionCount*( Name : int32 Offset : int32 KeyLength : int32 KeyCount : int32 ) Padding : ... to 4096*byte ) SectionCount*( Sections[i].KeyCount*( Key : Sections[i].KeyLength*byte ValueOffset : int32 ValueLength : int32 ) Data : *byte fj.log structure *( Record : ( N : int32 Serialized : N*byte ) )
- Nette\Object
-
Nette\Caching\FileJournal implements ICacheJournal
public
|
#
__construct(
string
$dir
)
Initalizes instance Initalizes instance Parameters$dir string |
public
|
#
__destruct(
)
Destructor. Destructor. |
public
void
|
#
write(
string
$key,
array
$dependencies
)
Writes entry information into the journal. Writes entry information into the journal. Parameters$key string$dependencies arrayImplementation of |
public
array
|
#
clean(
array
$conditions
)
Cleans entries from journal. Cleans entries from journal. Parameters$conditions arrayReturnsarray of removed items or NULL when performing a full cleanup
Implementation of |