DocBook|Search
Class Reference
%SYSTEM.Config
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%SYSTEM] >  [Config]
Private  Storage  

abstract class %SYSTEM.Config extends Help

The $System.Config class provides methods to activate Cache configuration settings without restarting Cache. For the most part, these do not need to be called directly by customer code because configuration classes will call them when modifying configuration settings.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
9


Summary

Methods
Help ModifyConsoleFile ModifyLineRecallBuffer ModifyLineRecallEntries
ModifyVMSConsoleTerminal ModifyWIJdir ModifyZFSize ModifyZFString
Modifybbsiz Modifynetjob


Methods

• classmethod ModifyConsoleFile() as %String
$SYSTEM.Config.ModifyConsoleFile(NewSetting) changes the console file. It returns the previous value of the Config.config.ConsoleFile setting.
$SYSTEM.Config.ModifyConsoleFile() with no argument returns the current value.
The input value will be modified to its canonic form.
• classmethod ModifyLineRecallBuffer() as %Integer
$SYSTEM.Config.ModifyLineRecallBuffer(NewSetting) sets the default LineRecallBuffer size. This setting will apply to all new Cache processes which do not specify -h on the command line. It returns the previous value of the Config.config.LineRecallBuffer setting.
$SYSTEM.Config.ModifyLineRecallBuffer() with no argument returns the active value of the Config.config.LineRecallBuffer setting.
The value of LineRecallBuffer is 1024 out of the box. The input value will be modified to insure that it is within the range of permitted values and will be rounded up to a power of 2. See the configuration settings section for permitted values.
• classmethod ModifyLineRecallEntries() as %Integer
$SYSTEM.Config.ModifyLineRecallEntries(NewSetting) sets the default LineRecallEntries size. This setting will apply to all new Cache processes which do not specify -h on the command line. It returns the previous value of the Config.config.LineRecallEntries setting.
$SYSTEM.Config.ModifyLineRecallEntries() with no argument returns the active value of the Config.config.LineRecallEntries setting.
The value of LineRecallEntries is 32 out of the box. The input value will be modified to insure that it is within the range of permitted values. See the configuration settings section for permitted values.
• classmethod ModifyVMSConsoleTerminal() as %String
$SYSTEM.Config.ModifyVMSConsoleTerminal(NewSetting) changes the console file. It returns the previous value of the Config.config.VMSConsoleTerminal setting.
$SYSTEM.Config.ModifyVMSConsoleTerminal() with no argument returns the current value.
If input value is "" no output will be made to a console terminal.
• classmethod ModifyWIJdir() as %String
$SYSTEM.Config.ModifyWIJdir(NewDirectory) modifies the active Config.config.wijdir setting causes the Write Daemon to create and initializes the new CACHE.WIJ file. This Method does not modify the configuration file or the configuration object. It is not intended to be called from customer code. It will be called as a result of the wijdir being changed when the CONFIG.config object is saved. It returns the previous active value of the Config.config.wijdir.
$SYSTEM.Config.ModifyWIJdir() with no argument returns the active value of the Config.config.wijdir setting.
• classmethod ModifyZFSize() as %Integer
$SYSTEM.Config.ModifyZFSize(NewSetting) sets the default zfheap allocation for Cache processes. This setting will apply to all new Cache processes. It returns the previous value of the Config.config.ZFSize setting.
$SYSTEM.Config.ModifyZFSize() with no argument returns the current value of the Config.config.ZFSize setting.
$SYSTEM.Config.ModifyZFSize(0) sets ZFSize to the default value.
The input value will be modified to insure that it is at least as large as the minimum permitted value, no larger than the the largest permitted value, and rounded up to an appropriate chunk size. See the configuration settings section for permitted values.
• classmethod ModifyZFString() as %Integer
$SYSTEM.Config.ModifyZFString(NewSetting) sets the amount of space allocated for values returned by callouts to external functions using $zf() It returns the previous value of the Config.config.ZFString setting.
$SYSTEM.Config.ModifyZFString() with no argument returns the current value.
$SYSTEM.Config.ModifyZFString(0) sets ZFString to the default value.
The input value will be modified to insure that it is at least as large as the minimum permitted value, no larger than the the largest permitted value, and rounded up to an appropriate chunk size. See the configuration settings section for permitted values.
• classmethod Modifybbsiz() as %Integer
$SYSTEM.Config.Modifybbsiz(NewSetting) sets the default maximum bbsize. This setting will apply to all new Cache processes. It returns the previous value of the Config.config.bbsiz setting.
$SYSTEM.Config.Modifybbsiz() with no argument returns the active value of the Config.config.bbsiz setting.
The input value will be modified to insure that it is at least as large as the minimum permitted value, no larger than the the largest permitted value, and rounded up to an appropriate chunk size. See the configuration settings section for permitted values.
• classmethod Modifynetjob() as %Integer
$SYSTEM.Config.Modifynetjob(NewSetting) sets the activate value of the Config.config.netjob setting to NewSetting. Valid values of NewSetting are 0 (disable) and 1 (enable). This method is intended for use by Cache utilities. It should not be called directly by customer code. It will be executed when the Config.config object is saved if the netjob setting has been modified.
$SYSTEM.Config.Modifynetjob() with no argument returns the active value of the Config.config.netjob setting.