Package com.hazelcast.config
Class RingbufferStoreConfig
java.lang.Object
com.hazelcast.config.RingbufferStoreConfig
- All Implemented Interfaces:
DataSerializable
,IdentifiedDataSerializable
Configuration for the
RingbufferStore
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
int
Returns type identifier for this class.int
Returns DataSerializableFactory factory ID for this class.getProperty
(String name) final int
hashCode()
boolean
void
Reads fields from the input streamsetClassName
(String className) setEnabled
(boolean enabled) setFactoryClassName
(String factoryClassName) setFactoryImplementation
(RingbufferStoreFactory factoryImplementation) setProperties
(Properties properties) setProperty
(String name, String value) setStoreImplementation
(RingbufferStore storeImplementation) toString()
void
Writes object fields to output stream
-
Constructor Details
-
RingbufferStoreConfig
public RingbufferStoreConfig() -
RingbufferStoreConfig
-
-
Method Details
-
getStoreImplementation
-
setStoreImplementation
-
isEnabled
public boolean isEnabled() -
setEnabled
-
getClassName
-
setClassName
-
getProperties
-
setProperties
-
getProperty
-
setProperty
-
getFactoryClassName
-
setFactoryClassName
-
getFactoryImplementation
-
setFactoryImplementation
public RingbufferStoreConfig setFactoryImplementation(@Nonnull RingbufferStoreFactory factoryImplementation) -
toString
-
getFactoryId
public int getFactoryId()Description copied from interface:IdentifiedDataSerializable
Returns DataSerializableFactory factory ID for this class.- Specified by:
getFactoryId
in interfaceIdentifiedDataSerializable
- Returns:
- factory ID
-
getClassId
public int getClassId()Description copied from interface:IdentifiedDataSerializable
Returns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
getClassId
in interfaceIdentifiedDataSerializable
- Returns:
- type ID
-
writeData
Description copied from interface:DataSerializable
Writes object fields to output stream- Specified by:
writeData
in interfaceDataSerializable
- Parameters:
out
- output- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the output stream has been closed.
-
readData
Description copied from interface:DataSerializable
Reads fields from the input stream- Specified by:
readData
in interfaceDataSerializable
- Parameters:
in
- input- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the input stream has been closed.
-
equals
-
hashCode
public final int hashCode()
-