NAME
Kernel::System::CachePreCalculation – to prepare the calculation for the caches for more performance
SYNOPSIS
All functions to prepare the calculation for the caches for more performance.
PUBLIC INTERFACE
- new()
-
create an object
use Kernel::System::ObjectManager; local $Kernel::OM = Kernel::System::ObjectManager->new(); my $CachePreCalculationObject = $Kernel::OM->Get('Kernel::System::CachePreCalculation');
- TicketPreCalc()
-
get all tickets of the last x minutes
my $Success = $CachePreCalculationObject->TicketPreCalc( LastTickets => 10_000, OpenTickets => 5_000, TicketsWithMostArticles => 1_000, StdOut => 1, );
- DynamicFieldPreCalc()
-
creates the dynamic field cache
my $Success = $CachePreCalculationObject->DynamicFieldPreCalc( Number => 10_000, StdOut => 1, );