@PrivateApi public class ResourceConfig extends Object implements IdentifiedDataSerializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getClassId()
Returns type identifier for this class.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
String |
getId()
Returns the ID of the resource that will be used to form the
IMap key under which it will be stored in the Jet cluster. |
ResourceType |
getResourceType()
Returns the type of the resource.
|
URL |
getUrl()
Returns the URL at which the resource is available.
|
int |
hashCode() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
@Nonnull public URL getUrl()
@Nonnull public String getId()
IMap key under which it will be stored in the Jet cluster.@Nonnull public ResourceType getResourceType()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getClassId()
IdentifiedDataSerializablegetClassId in interface IdentifiedDataSerializablepublic void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.Copyright © 2024 Hazelcast, Inc.. All rights reserved.