Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mkStatementCache :: MkStatementCache -> StatementCachepersistent Database.Persist.SqlBackend.StatementCache Create a statement cache.
statementCacheClear :: MkStatementCache -> IO ()persistent Database.Persist.SqlBackend.StatementCache Remove all statements from the cache. Implementations of this should be sure to call stmtFinalize on all statements removed from the cache.
statementCacheInsert :: MkStatementCache -> StatementCacheKey -> Statement -> IO ()persistent Database.Persist.SqlBackend.StatementCache Put a new statement into the cache. An immediate lookup of the statement MUST return the inserted statement for the given cache key. Depending on the implementation, the statement cache MAY choose to evict other statements from the cache within this function.
statementCacheLookup :: MkStatementCache -> StatementCacheKey -> IO (Maybe Statement)persistent Database.Persist.SqlBackend.StatementCache Retrieve a statement from the cache, or return nothing if it is not found.
statementCacheSize :: MkStatementCache -> IO Intpersistent Database.Persist.SqlBackend.StatementCache Get the current size of the cache.
-
gi-gio GI.Gio.Objects.DBusProxy Looks up the value for a property from the cache. This call does no blocking IO. If proxy has an expected interface (see DBusProxy:gInterfaceInfo) and propertyName is referenced by it, then value is checked against the type of the property. Since: 2.26
dBusProxyGetCachedPropertyNames :: (HasCallStack, MonadIO m, IsDBusProxy a) => a -> m (Maybe [Text])gi-gio GI.Gio.Objects.DBusProxy Gets the names of all cached properties on proxy. Since: 2.26
-
gi-gio GI.Gio.Objects.DBusProxy If value is not Nothing, sets the cached value for the property with name propertyName to the value in value. If value is Nothing, then the cached value is removed from the property cache. If proxy has an expected interface (see DBusProxy:gInterfaceInfo) and propertyName is referenced by it, then value is checked against the type of the property. If the value GVariant is floating, it is consumed. This allows convenient 'inline' use of g_variant_new(), e.g.
C code
g_dbus_proxy_set_cached_property (proxy, "SomeProperty", g_variant_new ("(si)", "A String", 42));Normally you will not need to use this method since proxy is tracking changes using the org.freedesktop.DBus.Properties.PropertiesChanged D-Bus signal. However, for performance reasons an object may decide to not use this signal for some properties and instead use a proprietary out-of-band mechanism to transmit changes. As a concrete example, consider an object with a property ChatroomParticipants which is an array of strings. Instead of transmitting the same (long) array every time the property changes, it is more efficient to only transmit the delta using e.g. signals ChatroomParticipantJoined(String name) and ChatroomParticipantParted(String name). Since: 2.26 ieEnableElementCacheCleanup :: Browser -> Boolwebdriver Test.WebDriver Determines whether the driver should attempt to remove obsolete elements from the element cache on page navigation (true by default). This is to help manage the IE driver's memory footprint , removing references to invalid elements.
ieEnableElementCacheCleanup :: Browser -> Boolwebdriver Test.WebDriver.Capabilities Determines whether the driver should attempt to remove obsolete elements from the element cache on page navigation (true by default). This is to help manage the IE driver's memory footprint , removing references to invalid elements.