Serialized Form
-
Package dev.vality.machinegun.base
-
Class dev.vality.machinegun.base.Content extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
data
ByteBuffer data
-
type
String type
Тип содержимого, согласно [RFC2046](https://www.ietf.org/rfc/rfc2046)
-
-
-
Class dev.vality.machinegun.base.InvalidRequest extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.base.Rational extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
__isset_bitfield
byte __isset_bitfield
-
p
long p
-
q
long q
-
-
-
Class dev.vality.machinegun.base.Timer extends org.apache.thrift.TUnion<Timer,Timer._Fields> implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.base.TimestampInterval extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
lower_bound
TimestampIntervalBound lower_bound
-
upper_bound
TimestampIntervalBound upper_bound
-
-
-
Class dev.vality.machinegun.base.TimestampIntervalBound extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
-
Package dev.vality.machinegun.eventsink
-
Class dev.vality.machinegun.eventsink.MachineEvent extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
__isset_bitfield
byte __isset_bitfield
-
created_at
String created_at
-
data
Value data
-
event_id
long event_id
Идентификатор события. Монотонно без пропусков возрастающее целочисленное значение, уникальное в пределах `source_id`. Задает порядок порождения событий в пределах одного объекта. -
format_version
int format_version
-
source_id
String source_id
-
source_ns
String source_ns
-
-
-
Class dev.vality.machinegun.eventsink.SinkEvent extends org.apache.thrift.TUnion<SinkEvent,SinkEvent._Fields> implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
-
Package dev.vality.machinegun.msgpack
-
Class dev.vality.machinegun.msgpack.Nil extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.msgpack.Value extends org.apache.thrift.TUnion<Value,Value._Fields> implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
-
Package dev.vality.machinegun.stateproc
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Call_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
a
Value a
-
desc
MachineDescriptor desc
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Call_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineNotFound ex2
-
ex3
MachineFailed ex3
-
success
Value success
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.GetMachine_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
desc
MachineDescriptor desc
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.GetMachine_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineNotFound ex2
-
ex3
EventNotFound ex3
-
success
Machine success
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Modernize_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
desc
MachineDescriptor desc
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Modernize_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineNotFound ex2
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Remove_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Remove_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineNotFound ex2
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Repair_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
a
Value a
-
desc
MachineDescriptor desc
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Repair_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineNotFound ex2
-
ex3
MachineFailed ex3
-
ex4
MachineAlreadyWorking ex4
-
ex5
RepairFailed ex5
-
success
Value success
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.SimpleRepair_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.SimpleRepair_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineNotFound ex2
-
ex3
MachineFailed ex3
-
ex4
MachineAlreadyWorking ex4
-
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Start_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.AutomatonSrv.Start_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
NamespaceNotFound ex1
-
ex2
MachineAlreadyExists ex2
-
ex3
MachineFailed ex3
-
-
-
Class dev.vality.machinegun.stateproc.CallArgs extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.CallResult extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
action
ComplexAction action
Изменения _машины_ -
change
MachineStateChange change
Данные ответа -
response
Value response
-
-
-
Class dev.vality.machinegun.stateproc.ComplexAction extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
remove
RemoveAction remove
-
set_timer
SetTimerAction set_timer
-
tag
TagAction tag
-
timer
TimerAction timer
-
-
-
Class dev.vality.machinegun.stateproc.Content extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
__isset_bitfield
byte __isset_bitfield
-
data
Value data
-
format_version
int format_version
Версия представления данных
-
-
-
Class dev.vality.machinegun.stateproc.Event extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
__isset_bitfield
byte __isset_bitfield
-
created_at
String created_at
Время происхождения события -
data
Value data
Описание события -
format_version
int format_version
Версия представления данных -
id
long id
Идентификатор события. Монотонно возрастающее целочисленное значение, таким образом на множестве событий задаётся отношение полного порядка (total order).
-
-
-
Class dev.vality.machinegun.stateproc.EventNotFound extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.EventSinkNotFound extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.EventSinkSrv.GetHistory_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
event_sink_id
String event_sink_id
-
range
HistoryRange range
-
-
-
Class dev.vality.machinegun.stateproc.EventSinkSrv.GetHistory_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
EventSinkNotFound ex1
-
ex2
EventNotFound ex2
-
ex3
InvalidRequest ex3
-
success
List<SinkEvent> success
-
-
-
Class dev.vality.machinegun.stateproc.HistoryRange extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
__isset_bitfield
byte __isset_bitfield
-
after
long after
Идентификатор события, после которого следуют события, входящие в описываемую выборку. Если поле не указано, то в выборку попадут события с самого первого. Если `after` не указано, в выборку попадут события с начала истории; если указано, например, `42`, то в выборку попадут события, случившиеся _после_ события `42`. -
direction
Direction direction
Направление истории, по-умолчанию вперёд.- See Also:
Direction
-
limit
int limit
Максимальная длина выборки. Допустимо указывать любое значение >= 0. Если поле не задано, то длина выборки ничем не ограничена. Если в выборку попало событий _меньше_, чем значение `limit`, был достигнут конец текущей истории.
-
-
-
Class dev.vality.machinegun.stateproc.InitSignal extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
arg
Value arg
Набор данных для инициализации
-
-
-
Class dev.vality.machinegun.stateproc.Machine extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
aux_state
Content aux_state
Вспомогательное состояние — это некоторый набор данных, характеризующий состояние, и в отличие от событий не сохраняется в историю, а каждый раз перезаписывается. Бывает полезен, чтобы сохранить данные между запросами, не добавляя их в историю. -
history
List<Event> history
Сложное состояние, выраженное в виде упорядоченного набора событий процессора. Список событий упорядочен по моменту фиксирования его в системе: в начале списка располагаются события, произошедшие раньше тех, которые располагаются в конце. -
history_range
HistoryRange history_range
Диапазон с которым была запрошена история машины. -
id
String id
Основной идентификатор машины -
ns
String ns
Пространство имён, в котором работает машина -
timer
String timer
Текущий активный таймер (точнее, дата и время когда таймер сработает).
-
-
-
Class dev.vality.machinegun.stateproc.MachineAlreadyExists extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.MachineAlreadyWorking extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.MachineDescriptor extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ns
String ns
-
range
HistoryRange range
-
ref
Reference ref
-
-
-
Class dev.vality.machinegun.stateproc.MachineEvent extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.MachineFailed extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.MachineNotFound extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.MachineStateChange extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.ModernizeEventResult extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
event_payload
Content event_payload
Обновлённое представление события
-
-
-
Class dev.vality.machinegun.stateproc.ModernizerSrv.ModernizeEvent_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ev
MachineEvent ev
-
-
-
Class dev.vality.machinegun.stateproc.ModernizerSrv.ModernizeEvent_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
success
ModernizeEventResult success
-
-
-
Class dev.vality.machinegun.stateproc.NamespaceNotFound extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.ProcessorSrv.ProcessCall_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
a
CallArgs a
-
-
-
Class dev.vality.machinegun.stateproc.ProcessorSrv.ProcessCall_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
success
CallResult success
-
-
-
Class dev.vality.machinegun.stateproc.ProcessorSrv.ProcessRepair_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
a
RepairArgs a
-
-
-
Class dev.vality.machinegun.stateproc.ProcessorSrv.ProcessRepair_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
ex1
RepairFailed ex1
-
success
RepairResult success
-
-
-
Class dev.vality.machinegun.stateproc.ProcessorSrv.ProcessSignal_args extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
a
SignalArgs a
-
-
-
Class dev.vality.machinegun.stateproc.ProcessorSrv.ProcessSignal_result extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
success
SignalResult success
-
-
-
Class dev.vality.machinegun.stateproc.Reference extends org.apache.thrift.TUnion<Reference,Reference._Fields> implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.RemoveAction extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.RepairArgs extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.RepairFailed extends org.apache.thrift.TException implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
reason
Value reason
-
-
-
Class dev.vality.machinegun.stateproc.RepairResult extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
action
ComplexAction action
Изменения _машины_ -
change
MachineStateChange change
Данные ответа -
response
Value response
-
-
-
Class dev.vality.machinegun.stateproc.SetTimerAction extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
__isset_bitfield
byte __isset_bitfield
-
range
HistoryRange range
История, с которой будет вызываться обработчик таймера. По умолчанию вся история. -
timeout
int timeout
Таймаут, с которым будет вызываться обработчик таймера. По умолчанию 30 секунд. -
timer
Timer timer
Критерий остановки таймера ожидания
-
-
-
Class dev.vality.machinegun.stateproc.Signal extends org.apache.thrift.TUnion<Signal,Signal._Fields> implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.SignalArgs extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.SignalResult extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
action
ComplexAction action
Изменения _машины_ -
change
MachineStateChange change
-
-
-
Class dev.vality.machinegun.stateproc.SinkEvent extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
-
Class dev.vality.machinegun.stateproc.TagAction extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
tag
String tag
Значение для ассоциации
-
-
-
Class dev.vality.machinegun.stateproc.TimeoutSignal extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.TimerAction extends org.apache.thrift.TUnion<TimerAction,TimerAction._Fields> implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-
Class dev.vality.machinegun.stateproc.UnsetTimerAction extends Object implements Serializable
-
Serialization Methods
-
readObject
- Throws:
IOExceptionClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
-