Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.Checkpoint
Description
No description available in the introspection data.
Since: 1.12
Synopsis
- newtype Checkpoint = Checkpoint (ManagedPtr Checkpoint)
- class (GObject o, IsDescendantOf Checkpoint o) => IsCheckpoint o
- toCheckpoint :: (MonadIO m, IsCheckpoint o) => o -> m Checkpoint
- checkpointGetCreated :: (HasCallStack, MonadIO m, IsCheckpoint a) => a -> m Int64
- checkpointGetDevices :: (HasCallStack, MonadIO m, IsCheckpoint a) => a -> m [Device]
- checkpointGetRollbackTimeout :: (HasCallStack, MonadIO m, IsCheckpoint a) => a -> m Word32
- getCheckpointCreated :: (MonadIO m, IsCheckpoint o) => o -> m Int64
- getCheckpointRollbackTimeout :: (MonadIO m, IsCheckpoint o) => o -> m Word32
Exported types
newtype Checkpoint Source #
Memory-managed wrapper type.
Constructors
Checkpoint (ManagedPtr Checkpoint) |
Instances
Eq Checkpoint Source # | |
Defined in GI.NM.Objects.Checkpoint | |
GObject Checkpoint Source # | |
Defined in GI.NM.Objects.Checkpoint | |
ManagedPtrNewtype Checkpoint Source # | |
Defined in GI.NM.Objects.Checkpoint Methods | |
TypedObject Checkpoint Source # | |
Defined in GI.NM.Objects.Checkpoint | |
HasParentTypes Checkpoint Source # | |
Defined in GI.NM.Objects.Checkpoint | |
IsGValue (Maybe Checkpoint) Source # | Convert |
Defined in GI.NM.Objects.Checkpoint Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe Checkpoint -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe Checkpoint) # | |
type ParentTypes Checkpoint Source # | |
Defined in GI.NM.Objects.Checkpoint |
class (GObject o, IsDescendantOf Checkpoint o) => IsCheckpoint o Source #
Type class for types which can be safely cast to Checkpoint
, for instance with toCheckpoint
.
Instances
(GObject o, IsDescendantOf Checkpoint o) => IsCheckpoint o Source # | |
Defined in GI.NM.Objects.Checkpoint |
toCheckpoint :: (MonadIO m, IsCheckpoint o) => o -> m Checkpoint Source #
Cast to Checkpoint
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getClient, getCreated, getData, getDevices, getPath, getProperty, getQdata, getRollbackTimeout.
Setters
getCreated
Arguments
:: (HasCallStack, MonadIO m, IsCheckpoint a) | |
=> a |
|
-> m Int64 | Returns: the timestamp of checkpoint creation. |
Gets the timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation.
Use utilsGetTimestampMsec
to obtain current time value suitable for
comparing to this value.
Since: 1.12
getDevices
Arguments
:: (HasCallStack, MonadIO m, IsCheckpoint a) | |
=> a |
|
-> m [Device] | Returns: the devices list. |
The devices that are part of this checkpoint.
Since: 1.12
getRollbackTimeout
checkpointGetRollbackTimeout Source #
Arguments
:: (HasCallStack, MonadIO m, IsCheckpoint a) | |
=> a |
|
-> m Word32 | Returns: the rollback timeout. |
Gets the timeout in seconds for automatic rollback.
Since: 1.12
Properties
created
The timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation.
Since: 1.12
getCheckpointCreated :: (MonadIO m, IsCheckpoint o) => o -> m Int64 Source #
Get the value of the “created
” property.
When overloading is enabled, this is equivalent to
get
checkpoint #created
devices
rollbackTimeout
Timeout in seconds for automatic rollback, or zero.
Since: 1.12
getCheckpointRollbackTimeout :: (MonadIO m, IsCheckpoint o) => o -> m Word32 Source #
Get the value of the “rollback-timeout
” property.
When overloading is enabled, this is equivalent to
get
checkpoint #rollbackTimeout