Package com.alibaba.graphscope.parallel
Class ParallelMessageManagerGen_cxx_0x5a835738
- java.lang.Object
-
- com.alibaba.fastffi.FFIPointerImpl
-
- com.alibaba.graphscope.parallel.ParallelMessageManagerGen_cxx_0x5a835738
-
- All Implemented Interfaces:
com.alibaba.fastffi.FFIPointer,FFIType,MessageManagerBase,ParallelMessageManager,ParallelMessageManagerGen,Serializable
public class ParallelMessageManagerGen_cxx_0x5a835738 extends FFIPointerImpl implements ParallelMessageManagerGen
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intHASH_SHIFTstatic intSIZE-
Fields inherited from class com.alibaba.fastffi.FFIPointerImpl
address
-
-
Constructor Summary
Constructors Constructor Description ParallelMessageManagerGen_cxx_0x5a835738(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)voidfinishARound()voidforceContinue()@com.alibaba.fastffi.FFINameAlias("GetMessageInBuffer") booleangetMessageInBuffer(MessageInBuffer buf)Retrieve a message archive.@com.alibaba.fastffi.FFINameAlias("GetMsgSize") longgetMsgSize()inthashCode()voidinitChannels(int channel_num)Init the message manager which number of possible channels.static voidnativeFinishARound(long ptr)static voidnativeForceContinue(long ptr)static @com.alibaba.fastffi.FFINameAlias("GetMessageInBuffer") booleannativeGetMessageInBuffer(long ptr, long buf0)static @com.alibaba.fastffi.FFINameAlias("GetMsgSize") longnativeGetMsgSize(long ptr)static voidnativeInitChannels(long ptr, int channel_num0)static voidnativeStart(long ptr)static voidnativeStartARound(long ptr)static @com.alibaba.fastffi.FFINameAlias("ToTerminate") booleannativeToTerminate(long ptr)voidstart()voidstartARound()StringtoString()@com.alibaba.fastffi.FFINameAlias("ToTerminate") booleantoTerminate()-
Methods inherited from class com.alibaba.fastffi.FFIPointerImpl
getAddress
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.graphscope.parallel.ParallelMessageManager
parallelProcess, sendMsgThroughEdges, sendMsgThroughIEdges, sendMsgThroughOEdges, syncStateOnOuterVertex, syncStateOnOuterVertexNoMsg
-
Methods inherited from interface com.alibaba.graphscope.parallel.ParallelMessageManagerGen
sendMsgThroughEdgesArrowProjected, sendMsgThroughEdgesImmutable, sendMsgThroughIEdgesArrowProjected, sendMsgThroughIEdgesImmutable, sendMsgThroughOEdgesArrowProjected, sendMsgThroughOEdgesImmutable, sendToFragment, syncStateOnOuterVertexArrowProjected, syncStateOnOuterVertexArrowProjectedNoMsg, syncStateOnOuterVertexImmutable, syncStateOnOuterVertexImmutableNoMsg
-
-
-
-
Method Detail
-
finishARound
public void finishARound()
- Specified by:
finishARoundin interfaceMessageManagerBase
-
nativeFinishARound
public static void nativeFinishARound(long ptr)
-
forceContinue
public void forceContinue()
- Specified by:
forceContinuein interfaceMessageManagerBase
-
nativeForceContinue
public static void nativeForceContinue(long ptr)
-
getMessageInBuffer
public @com.alibaba.fastffi.FFINameAlias("GetMessageInBuffer") boolean getMessageInBuffer(MessageInBuffer buf)Description copied from interface:ParallelMessageManagerRetrieve a message archive.- Specified by:
getMessageInBufferin interfaceParallelMessageManager- Parameters:
buf- place to store the archive.- Returns:
- true if got one.
-
nativeGetMessageInBuffer
public static @com.alibaba.fastffi.FFINameAlias("GetMessageInBuffer") boolean nativeGetMessageInBuffer(long ptr, long buf0)
-
getMsgSize
public @com.alibaba.fastffi.FFINameAlias("GetMsgSize") long getMsgSize()- Specified by:
getMsgSizein interfaceMessageManagerBase
-
nativeGetMsgSize
public static @com.alibaba.fastffi.FFINameAlias("GetMsgSize") long nativeGetMsgSize(long ptr)
-
initChannels
public void initChannels(int channel_num)
Description copied from interface:ParallelMessageManagerInit the message manager which number of possible channels. Each channel will swap messages in parallel.- Specified by:
initChannelsin interfaceParallelMessageManager- Parameters:
channel_num- number of channels.
-
nativeInitChannels
public static void nativeInitChannels(long ptr, int channel_num0)
-
start
public void start()
- Specified by:
startin interfaceMessageManagerBase
-
nativeStart
public static void nativeStart(long ptr)
-
startARound
public void startARound()
- Specified by:
startARoundin interfaceMessageManagerBase
-
nativeStartARound
public static void nativeStartARound(long ptr)
-
toTerminate
public @com.alibaba.fastffi.FFINameAlias("ToTerminate") boolean toTerminate()- Specified by:
toTerminatein interfaceMessageManagerBase
-
nativeToTerminate
public static @com.alibaba.fastffi.FFINameAlias("ToTerminate") boolean nativeToTerminate(long ptr)
-
-