shutdown
public static void shutdown()
GigaSpaces creates static resources implicitly when creating GigaSpaces components, such as
 remote/embedded space proxies. When using GigaSpaces outside of GigaSpaces containers (GSC)
 and processing unit, in some scenarios this resources should be cleaned up when no longer
 needed. This is relevant when hosting GigaSpaces components inside other application server
 which create a new class loader per deployment, which loads GigaSpaces libraries into that
 class loader each time. When this class loader is unloaded (Due to undeployment of the
 application/service), this method should be called to cleanup the resources which were
 created implicitly. This method shutdown GigaSpaces runtime, once invoked the GigaSpaces
 runtime is destroyed and cannot be reused in the current class loader which it was created
 in, as a result this is an irreversible process. This will only cleanup threads and resources
 which are created implicitly when using GigaSpaces runtime, it will not clean up resources
 the user has explicitly created such as space proxies, space instances and other components,
 this components needs to be destroyed explicitly by the creator.
 This should only be used when using GigaSpaces runtime outside of GigaSpaces containers
 (GSC), and only if GigaSpaces libraries are loaded into new class loader on each deployment
 and not shared across multiple class loaders.
- Since:
- 9.7