Server

Functions

  • BundleInfo() if the given object is loaded by an OSGi bundle, this function is returning information about that bundle
  • ComponentCacheClear() flush the component path cache
  • ConfigImport() Imports configuration using the "CFConfig.json" format.
  • CtCacheClear() flush the custom tag path cache
  • CtCacheList() list elements in the custom tag path cache
  • DbPoolClear() clears all existing datasource connection
  • EC2describeInstances() This function interfaces with the EC2 service to retrieve detailed information about specified EC2 instances. It supports custom filtering, specific instance IDs, regional targeting, and legacy mode handling.
  • ExtensionExists() Checks if a certain extension exists or not.
  • ExtensionList() Checks if a certain extension exists or not.
  • GetBuiltInFunction() return a build in function as an object, matching the given name, throws an exception when the function does not exist.
  • GetClassPath() returns an array containing the Java classpath of the current environment.
  • GetContextInfo() Returns information about the current context.
  • GetContextRoot() Returns path to the J2EE server context root for the current request.
  • GetCPUUsage() returns the CPU usage for a defined time range (default: 1000ms).
  • GetFreeSpace() Returns the number of unallocated bytes in the partition named by this abstract path name.
  • GetFunctionCalledName() Returns the name of variable used to call the current function
  • GetFunctionData() Returns information about a built in function (BIF)
  • GetFunctionKeywords() returns all keywords defined with all functions
  • GetFunctionList() Returns all the currently registered functions
  • GetLocalHostIP() Returns the localhost IP address, which is 127.0.0.1 for IPv4 and ::1 for IPv6 addresses.
  • GetMemoryUsage() Returns detailed information to the memory usage of the container.
  • GetMetricData() Gets server performance metrics.
  • GetPageContext() Gets the current PageContext object that provides access to page attributes and configuration, request and response objects.
  • GetSystemFreeMemory() The amount of memory that is currently free, in bytes.
  • GetSystemPropOrEnvVar() Return the list of supported system properties or env vars Lucee supports.
  • GetSystemTotalMemory() The amount of memory that is available to the operating system, in bytes.
  • GetTagData() Returns Information about a Tag as Struct
  • GetTagList() Returns a struct containing all the Tags supported by Lucee.
  • GetTotalSpace() Returns the size of the partition named by this abstract pathname.
  • GetVFSMetaData() Returns metadata about the Virtual File system (VFS)
  • InspectTemplates() Flag all the cfml code (cfm, cfcs) in the cache of compiled code (aka the Page Pool) to be checked once for any changes.
  • internalRequest() Makes a request to the CFML Engine internally.
  • IsInThread() Determines whether the executing code is inside a cfthread or not.
  • LogAllThreads() Creates detailed thread stack trace logs in JSONL format for performance analysis and debugging. This function captures stack traces from all running threads at specified intervals for a given duration. It executes asynchronously, returning immediately after starting the logging process, making it ideal for analyzing specific code segments by initiating logging just before the target code execution
  • PagePoolClear() Clear out all the cfml code (cfm, cfcs) in the cache of compiled code (aka the Page Pool)
  • PagePoolList() Lists all the cfml code (cfm, cfcs) in the cache of compiled code (aka the Page Pool)
  • SSLCertificateInstall() install certificates of a specific host
  • SSLCertificateList() Returns a list of SSL certificates. If a host is specified, it lists the certificates available for that specific host. If no host is specified, it lists all certificates stored in the KeyStore.
  • SystemCacheClear() clears all caches or the specified cache

Tags

  • <cflock> Provides two types of locks to ensure the integrity of shared data: Exclusive lock and Read-only lock.
  • <cfobjectcache> Flushes an object cache or returns the current size.
  • <cfprocessingdirective> Sets compiler directives that affect the entire template. Unlike most CFML tags, cfprocessingdirective is processed at compile time and must be placed at the root level of your template.
  • <cfregistry> Reads, writes, and deletes keys and values in the system registry. The cfregistry tag is supported on all platforms, including Linux, Solaris, and HP-UX.
  • <cfsetting> Controls various aspects of page processing, such as the output of HTML code in pages. One benefit of this option is managing whitespace that can occur in output pages served by CFML.

Guides