Class PmChannelEndArtefacts
java.lang.Object
com._1c.g5.v8.dt.internal.pm.connection.mmf.PmChannelEndArtefacts
- All Implemented Interfaces:
Invalidatable
,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionPmChannelEndArtefacts
(PmTempFilesProvider filesProvider) Constructs new instance and creates composed artefacts using givenPmTempFilesProvider
. -
Method Summary
-
Constructor Details
-
PmChannelEndArtefacts
Constructs new instance and creates composed artefacts using givenPmTempFilesProvider
.- Parameters:
filesProvider
- givenPmTempFilesProvider
(notnull
)- Throws:
IOException
- if creating artefacts failed
-
-
Method Details
-
getMappedBufferProvider
Returns provider ofMappedByteBuffer
used to transfer data.- Returns:
- provider of
MappedByteBuffer
used to transfer data (notnull
)
-
getLockA
Retuns lock A.- Returns:
- lock A (not
null
)
-
getLockB
Retuns lock B.- Returns:
- lock B (not
null
)
-
getLockC
Retuns lock C.- Returns:
- lock C (not
null
)
-
isValid
public boolean isValid()Description copied from interface:Invalidatable
Returns if this instance is not closed.- Specified by:
isValid
in interfaceInvalidatable
- Returns:
true
, ifAutoCloseable.close()
was not called,false
otherwise
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-