Package com.illumon.iris.controller
Class PersistentQueryConfigurationWrapper
java.lang.Object
com.illumon.iris.controller.PersistentQueryConfigurationWrapper
- All Implemented Interfaces:
Externalizable
,Serializable
public class PersistentQueryConfigurationWrapper extends Object implements Externalizable
Wrapper to help in the synchronization of PersistentQueryConfiguration objects. These are needed by the various
SetupQuery classes (ScriptSetupQuery, RevertHelperSetupQuery, etc) to start workers, and whenever the underlying
query configuration class changes, a simultaneous world restart is required to avoid serialization issues. The
ADO can already handle this if it has the old ColumnSet, so if this class adds that and uses it in serialization.
The readExternal and writeExternal appear unused because the SetupQuery classes which will be serialized and
sent between the controller and query servers are instantiated reflexively.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PersistentQueryConfigurationWrapper()
This constructor is needed for the serialization and is not intended for general usePersistentQueryConfigurationWrapper(PersistentQueryConfiguration config)
-
Method Summary
Modifier and Type Method Description PersistentQueryConfiguration
getConfig()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
Constructor Details
-
PersistentQueryConfigurationWrapper
-
PersistentQueryConfigurationWrapper
public PersistentQueryConfigurationWrapper()This constructor is needed for the serialization and is not intended for general use
-
-
Method Details
-
getConfig
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-